grep

Sean C. Farley scf at FreeBSD.org
Wed Dec 28 23:37:33 UTC 2011


On Thu, 29 Dec 2011, Randy Bush wrote:

> bsdgrep works, grep does not
>
> % echo foo | bsdgrep foo
> foo
> % echo foo | grep foo
> %

Make sure you do not have an alias or function for grep.  I have once or 
twice in the past inadvertently created aliases or functions for grep 
that did nothing.

That was a fun experience trying to find out why grep was ignoring me. 
;)

Sean
-- 
scf at FreeBSD.org


More information about the freebsd-current mailing list