Rebuild a .newsrc file

Matthew Farwell dylan at ibmpcug.co.uk
Fri Oct 5 01:46:07 AEST 1990


In article <1990Oct3.014039.27275 at cbnews.att.com> lvc at cbnews.att.com (Lawrence V. Cipriani) writes:
>In article <2713 at crdos1.crd.ge.COM>, davidsen at crdos1.crd.ge.COM (Wm E Davidsen Jr) writes:
>>   Someone asked about rebuilding a .newsrc file.
>Here's a pretty quick one in awk.
> [ solution deleted ]

or
sed -e 's/ .*/:/' /usr/lib/news/active > $HOME/.newsrc

Dylan.
-- 
Matthew J Farwell                 | Email: dylan at ibmpcug.co.uk
The IBM PC User Group, PO Box 360,|        ...!uunet!ukc!ibmpcug!dylan
Harrow HA1 4LQ England            | CONNECT - Usenet Access in the UK!!
Phone: +44 81-863-1191            | Sun? Don't they make coffee machines?



More information about the Comp.unix.shell mailing list