Re: grep

From: Doug Barton <dougb_at_FreeBSD.org>
Date: Wed, 28 Dec 2011 14:51:28 -0800
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_at_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/
Received on Wed Dec 28 2011 - 21:52:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:22 UTC