Fwd: Re: grep command not working as expected

Stephen Allen freebsduk at rowyerboat.com
Wed Sep 27 15:47:57 PDT 2006


A simple grep command, 'grep -vf patternfile inputfile' works on Linux, 
but the same command doesn't work on FreeBSD-6.1.

To make it work I found I had to use -F to force the interpretation of 
fixed-strings.  I don't know why it made a difference from Linux, and 
nothing in the man page appears to mention why.

Kind regards,
Stephen Allen
-- 


More information about the freebsd-stable mailing list