grep command not working as expected

Stephen Allen freebsduk at rowyerboat.com
Wed Sep 27 23:23:14 BST 2006


Doh!

I had to use -F to force the interpretation of fixed-strings.  I dunno 
why it made a difference from Linux but it now works.

Steve :)
--


Stephen Allen wrote:
> A simple grep command, 'grep -vf patternfile inputfile' works on Linux, 
> but the same command doesn't work on FreeBSD-6.1.  Is is something to do 
> with line breaks?
> 
> Thanks,
> Steve :)
> 
> ------ FreeBSD UK Users' Group  -  Mailing List ------
> http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users
> 




More information about the Ukfreebsd mailing list