On Thu, 15 Jul 2004 02:29:11 -0400, Paul Chvostek <paul+pm(_at_)it(_dot_)ca>
wrote:
On Wed, Jul 14, 2004 at 11:12:19AM -0400, Eric Wood wrote:
That's the same behavior I get with GNU's grep on RH's FC1 distro.
I wouldn't know about Redhat -- I'm strictly FreeBSD when it comes to
this kind of stuff. If GNU grep is broken, it doesn't affect me. ;)
Really? My FreeBSD grep is GNU grep
$ grep --version
grep (GNU grep) 2.4d
Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
So using a pattern file (with the -f switch) the line must match exactly.
In FreeBSD's grep, the -f switch simply lists a set of regexps.
Hmm... do we have the same grep?
-f FILE, --file=FILE
Obtain patterns from FILE, one per line. The empty file con-
tains zero patterns, and therfore matches nothing.
$ uname -v
FreeBSD 5.2.1-RC #0: Sat Jan 31 05:36:22 GMT 2004
root(_at_)cypress(_dot_)btc(_dot_)adpatec(_dot_)com:/usr/obj/usr/src/sys/GENERIC
--
gkreme at gmail or kreme at kreme or syth at mac
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail