Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!uunet!mcsun!ukc!slxsys!ibmpcug!dylan From: dylan@ibmpcug.co.uk (Matthew Farwell) Newsgroups: comp.unix.shell Subject: Re: Rebuild a .newsrc file Message-ID: <1990Oct4.154607.4767@ibmpcug.co.uk> Date: 4 Oct 90 15:46:07 GMT References: <2713@crdos1.crd.ge.COM> <1990Oct3.014039.27275@cbnews.att.com> Reply-To: dylan@ibmpcug.CO.UK (Matthew Farwell) Organization: The IBM PC User Group, UK. Lines: 15 In article <1990Oct3.014039.27275@cbnews.att.com> lvc@cbnews.att.com (Lawrence V. Cipriani) writes: >In article <2713@crdos1.crd.ge.COM>, davidsen@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@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?