home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume7 / nsubj / README < prev    next >
Encoding:
Text File  |  1989-06-03  |  1.2 KB  |  25 lines

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