From owner-freebsd-current@FreeBSD.ORG Wed Dec 28 22:52:41 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id A635D106564A for ; Wed, 28 Dec 2011 22:52:41 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-198-245.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 741B815464C; Wed, 28 Dec 2011 22:51:28 +0000 (UTC) Message-ID: <4EFB9D70.8040002@FreeBSD.org> Date: Wed, 28 Dec 2011 14:51:28 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: Randy Bush References: In-Reply-To: X-Enigmail-Version: undefined OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 22:52:41 -0000 On 12/28/2011 14:35, Randy Bush wrote: > FreeBSD ran.psg.com 10.0-CURRENT FreeBSD 10.0-CURRENT #4: Sat Dec 24 12:33:51 UTC 2011 root@ran.psg.com:/usr/obj/usr/src/sys/RAN amd64 > > % echo foo | grep foo > % > > so i am csupping hoping to pick up the fix. I'm using pretty recent -current, and it works for me. Are you by any chance using bsdgrep? (it's not the default) > but what do i need to do so > that the sucker can build a new kernel and world? It will probably be necessary to replace the grep binary after you update your source. If you're using bsdgrep try this in /usr/src/usr.bin/grep: make cleandir && make obj && make depend && make all && make install If you haven't enabled the option for bsdgrep in src.conf then do the same thing in /usr/src/gnu/usr.bin/grep. If neither of those produce a working grep, you've got bigger issues. hth, Doug -- You can observe a lot just by watching. -- Yogi Berra Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/