From owner-freebsd-current@FreeBSD.ORG Wed Dec 28 23:37:33 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D39E6106564A for ; Wed, 28 Dec 2011 23:37:33 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f07:14d3:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id 893128FC12 for ; Wed, 28 Dec 2011 23:37:33 +0000 (UTC) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f07:14d3:1::5]) by mail.farley.org (8.14.5/8.14.5) with ESMTP id pBSNbWqJ004592; Wed, 28 Dec 2011 18:37:32 -0500 (EST) (envelope-from scf@FreeBSD.org) Date: Wed, 28 Dec 2011 18:37:32 -0500 (EST) From: "Sean C. Farley" To: Randy Bush In-Reply-To: Message-ID: References: <4EFB9D70.8040002@FreeBSD.org> User-Agent: Alpine 2.02 (BSF 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-1.5 required=4.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.farley.org Cc: FreeBSD Current Subject: Re: grep X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 23:37:33 -0000 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