Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2011 18:37:32 -0500 (EST)
From:      "Sean C. Farley" <scf@FreeBSD.org>
To:        Randy Bush <randy@psg.com>
Cc:        FreeBSD Current <freebsd-current@FreeBSD.org>
Subject:   Re: grep
Message-ID:  <alpine.BSF.2.02.1112281834410.4588@thor.farley.org>
In-Reply-To: <m2vcp0qoxw.wl%randy@psg.com>
References:  <m24nwks4s2.wl%randy@psg.com> <4EFB9D70.8040002@FreeBSD.org> <m2vcp0qoxw.wl%randy@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.02.1112281834410.4588>