home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / misc / 21711 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.9 KB  |  50 lines

  1. Newsgroups: comp.sys.next.misc
  2. Path: sparky!uunet!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!news
  3. From: sherwood@space.ualberta.ca (Sherwood Botsford)
  4. Subject: Re: Librarian: deja vu, again
  5. Message-ID: <1992Nov6.220741.2156@kakwa.ucs.ualberta.ca>
  6. Sender: news@kakwa.ucs.ualberta.ca
  7. Nntp-Posting-Host: fenris.space.ualberta.ca
  8. Organization: University Of Alberta, Edmonton Canada
  9. References: <1992Nov5.195956.15366@nosc.mil>
  10. Distribution: usa
  11. Date: Fri, 6 Nov 1992 22:07:41 GMT
  12. Lines: 36
  13.  
  14. Gerry Key writes
  15. > Is it true that the Digital Librarian for NeXTStep 3.0 still won't  
  16. (as NS  
  17. > 2.2 wouldn't) index directories with a suffix of .mbox?  Is there a  
  18. reason  
  19. > for this?  Is there a work-around, short of running ixbuild from the  
  20. > command line?  
  21.  
  22. If your .mbox's are big enough to need indexing, they are big enough to  
  23. have problems with them indexed too.  Remember that DL loads the entire  
  24. file.  It's not clever enough to keep mail messages separate.
  25.  
  26. Suggest that instead you use agrep.  (Available at fine ftp sites  
  27. everywhere)  Agrep (approximate grep) allows you to do things like  
  28. this:
  29.      agrep -d '^From ' 'breakdown;internet' mbox
  30.           outputs all mail messages (the pattern '^From '
  31.           separates mail messages in a mail file) that contain
  32.           keywords 'breakdown' and 'internet'.
  33.      agrep -2 -c ABCDEFG foo
  34.           gives the number of lines in file foo that contain
  35.           ABCDEFG within two errors.
  36.      agrep -1 'abc[0-9](de|fg)*[x-z]' foo
  37.           outputs the lines containing, within up to one error,
  38.           the string that starts with abc followed by one digit,
  39.           followed by zero or more repetitions of either de or
  40.           fg, followed by either x, y, or z.
  41.  
  42.  
  43. --
  44. => Sherwood Botsford                   sherwood@space.ualberta.ca <= 
  45. => University of Alberta         Lab Manager, Space Physics Group <=         
  46. => tel:403 492-3713                             fax: 403 492-4256 <=         
  47.  
  48.  
  49.