procmail
[Top] [All Lists]

Re: Rejecting multiple names/subjects at once?

1996-07-08 22:53:43
On Mon, 8 Jul 1996 18:46:20 -0500 (CDT),
dattier(_at_)wwa(_dot_)com (David W. Tamkin) wrote:
Era Eriksson suggested to Mike Rose,
| You can probably get a bit better results with POG (plain ole grep :-)
| since it doesn't need the overhead of egrep's extended syntax. 
No, that won't work for Mike's situation, because POG generally does not
support the -f option for reading a set of search expressions from a file. 
POG needs to be told a single expression on its command line.

Not true for GNU grep. But in fact, both GNU grep and GNU egrep (yes,
they're the same binary) bail out when fed head -4316 /usr/dict/words.
head -4315 /usr/dict/words works fine. I'm still guessing that the
program looks at the file size before even trying to construct an
automaton but I should be going to the source before I say anything
more, I guess.

I'll stop now. :-)

/* era */

 % head -4316 /usr/dict/words | wc
    4316    4316   35338

-- 
See <http://www.ling.helsinki.fi/~reriksso/> for mantra, disclaimer, etc.