home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10378 < prev    next >
Encoding:
Text File  |  1992-09-10  |  2.6 KB  |  64 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!spool.mu.edu!snorkelwacker.mit.edu!bloom-picayune.mit.edu!daemon
  3. From: morton@bit.csc.lsu.edu (Donald J. Morton)
  4. Subject: Re: Digest Archives
  5. Message-ID: <1992Sep10.142853.15887@athena.mit.edu>
  6. Sender: daemon@athena.mit.edu (Mr Background)
  7. Reply-To: morton@bit.csc.lsu.edu (Donald J. Morton)
  8. Organization: The Internet
  9. Date: Thu, 10 Sep 1992 14:28:53 GMT
  10. Lines: 52
  11.  
  12. | From: aliu@usc.edu (Alex C. Liu)
  13. | Subject: Mail-digest archive...
  14. | Date: 9 Sep 92 17:26:36 GMT
  15. | But how about creating a table of contents?  If I am not wrong, this
  16. | digests have "Subject" lines that you could extract and put in a
  17. | single file.  And one could download this file and simple figure out
  18. | what digests have the subjects you are interested in and just download
  19. | that instead of downloading digest after digest after digest after
  20. | digest.
  21.  
  22. For anyone interested, here is my two line script for performing the
  23. above subject extraction from the digests 
  24.  
  25.  
  26.         awk 'NR == 10, /-----------------/' $1  >> digest.dir 
  27.         rm $1
  28.  
  29.        
  30. Simply place the above in a file (I'll call it "extract" here), then
  31.  
  32.         chmod u+x extract
  33.  
  34. Then, save your digest to a file (I'll call it digest.txt) and enter
  35.  
  36.        extract digest.txt
  37.  
  38. and the subject listings (along with the digest number, etc.) are appended
  39. to "digest.dir".
  40.  
  41.  
  42. I realize there are probably much better ways to do all this, but for
  43. simple-minded folk like myself, it works!!  
  44.  
  45.  
  46. I'll take this opportunity now to express my deep appreciation for all
  47. the work that's been done on Linux.  I still find it absolutely amazing
  48. that I can have workstation-like capabilities right here at home, for
  49. FREE!!  Hopefully, when I'm done with school I'll be able to find a
  50. niche in which I can be helpful in some of your future work.
  51.  
  52.  
  53. ===========================================================================
  54. ||  Don Morton   (Ph.D. Candidate)          morton@bit.csc.lsu.edu       ||
  55. ||  Dept. Computer Science                  csmort@lsuvm.sncc.lsu.edu    ||
  56. ||  298 Coates Hall                         csmort@lsumvs.sncc.lsu.edu   ||
  57. ||  Louisiana State University              csmort@sn01.sncc.lsu.edu     ||
  58. ||  Baton Rouge, LA 70803                   CSMORT@LSUVM.BITNET          ||
  59. ||                                          CSMORT@LSUMVS.BITNET         ||
  60. ||  Phone: (504) 388-1495                                                ||
  61. ||  Fax  : (504) 389-0997                                                ||
  62. ===========================================================================
  63.