LSTOWN-L Archives

LISTSERV List Owners' Forum

LSTOWN-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Douglas Palmer <[log in to unmask]>
Mon, 24 Feb 2003 11:05:59 -0500
text/plain (36 lines)
At 08:12 PM 2/22/2003 -0800, Steve Nill wrote:

>I do have direct access to the server, but my technical skills are such
>that the time needed to do this would be roughly equal to the time I'll
>need to migrate over the subscriber lists to the DBMS back-end.  I don't
>have the time to do either for several weeks, and am trying to find a
>simple (though probably non-existent) solution given the fact that I have
>very little time just now....

Just run this with ksh -- it will put your list in /tmp/lsts:

#!/bin/ksh

TMP=/tmp/all$$
LSVROOT=`grep LSVROOT= ~listserv/go.sys | sed 's/LSVROOT=//'`
LHOME=`grep A= ~listserv/go.sys | sed 's/A=$LSVROOT\"//' | sed 's/\"//'`
LISTHOME=${LSVROOT}${LHOME}
for i in `ls  ${LISTHOME} | grep \.list`
do
        listview $i 2>/dev/null
done > $TMP

cat $TMP | grep -vi ^* | cut -c1-79  | sort -u > /tmp/lsts
unlink $TMP
#END SCRIPT

-- DCP



--
Douglas Palmer                          | Voice: 718-260-2291 Fax: 718-260-2338
SystemsManager, USDC-EDNY       | rm -rf /bin/laden
225 Cadman Plaza East                   | Email: [log in to unmask]
Brooklyn, New York 11201                | CCNP

ATOM RSS1 RSS2