Article View: news.software.readers
Article #12037Re: Handy .newsrc Unix type script
From: Doctor Lizardo
Date: Fri, 21 Oct 1994 04:29
Date: Fri, 21 Oct 1994 04:29
13 lines
1220 bytes
1220 bytes
Will Fiveash <will@austin.ibm.com> wrote: >The script (I call it gnewsrc) takes a group name and prints out >the location followed by the newsgroup that matches the name. My version of grep (Linux) does exactly that with -n. SunOS's grep does so as well. All you'd need to do is: grep -n keyword ~/.newsrc And you get the same output without having to muck about with sed & awk. -- Dr. Lizardo <lizardo@net-abuse.org>
Technical Details
Message-ID:
<387g30$2oq@oak.zilker.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!news.mathworks.com!news.alpha.net!uwm.edu!cs.utexas.edu!zilker.net!rotten.tic.com!lizardoReferences:
<Cxy2zH.zI0@austin.ibm.com>Show Full Headers
Complete Article Headers
Message-ID: <387g30$2oq@oak.zilker.net> Subject: Re: Handy .newsrc Unix type script Date: Fri, 21 Oct 1994 04:29:20 +0000 From: lizardo@rotten.tic.com (Doctor Lizardo) References: <Cxy2zH.zI0@austin.ibm.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!news.mathworks.com!news.alpha.net!uwm.edu!cs.utexas.edu!zilker.net!rotten.tic.com!lizardo Newsgroups: news.software.readers Followup-To: news.software.readers Organization: Austin Net-Abuse, Incorporated Lines: 13 NNTP-Posting-Host: rotten.tic.com Summary: grepping