home *** CD-ROM | disk | FTP | other *** search
- A couple of handy programs for dealing with subjects in netnews
- ("Now where was that article I thought I didn't want to read?").
- "Subj" is a standalone C program which emulates
- % cd <desired_news_directory>;head * | egrep '==>|ubject:'
- but is (at least on our machine) faster; plus it puts the filename
- and the subject-line on the same line.
- "Subjc" is a modified version which accepts a file of file-names
- and sorta does the same thing. See the script "subjn" for
- use of subjc. It's an overnight package to put up "/tmp/subjnews"
- for later perusal or fgrepping.
- /*Uses the "readdir" stuff of BSD, so probably not very (at all)
- portable to SYSV.*/
- Actually I did go over to a couple of SYSV boxes (3b2/300's
- R2.0 and R3.1) and make it work with SYSV (gad! how long has
- it been since I had to suffer SYSV?)... The pertinent
- code is #ifdeffed SYSV.
- The man pages and Makefile are probably gross overkill for a couple
- of 50-line programs, but ... just wanted to do it right. Spent
- much more time on getting the package together than originally
- spent writing the programs ... but, what the heck ...
- P.S. vi with sw=4, etc.
- -------------
- Jim Nelson,UNC-Wilmington,Mathematical Sciences Dept, 919-395-3300
- nelson@uncw.uucp or nelson@ecsvax.uncecs.edu or nelson@ecsvax.bitnet
-