Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2006 23:44:22 +0100
From:      Stephen Allen <freebsduk@rowyerboat.com>
To:        stable@freebsd.org
Subject:   Fwd: Re: grep command not working as expected
Message-ID:  <451AFEC6.1000404@rowyerboat.com>

next in thread | raw e-mail | index | archive | help
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
-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?451AFEC6.1000404>