Scanning/filtering news for selected strings

Super user root at equinox.UUCP
Sat Dec 22 02:36:52 AEST 1990


Hi, I wanted to post a followup article on a question I asked on
scanning /usr/spool/news directories for articles of interest. I'd
like to thank everyone for replying by email to me. The solutions:

"Use NN" -- I think this is available on SUNS. I'm using Xenix 2.3.2.

"Grep for the subject in a shell line..." -- Several people 

"Use  
   find /usr/spool/news/comp/unix -type f -exec egrep 'regexp' {} /dev/null \;

I liked this powerful one-liner submitted by Michael Gengenback of FORWISS


Larry Wall lwall at jpl-decvax.jpl.nasa.gov  sent me a PERL program that "scans all newsgroups for interesting
strings." and then prints a message to the terminal although "other behaviours
are of course possible...".  I know PERL is on uunet!, how do you get it?? 

There's so many news articles, I think there is a definite need to be able to
filter just subjects of interests -- otherwise you could spend your whole day
reading news.

--Wolf Kozel



More information about the Comp.unix.shell mailing list