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