This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: echo hi|egrep -v ho #no output
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Fri, 01 Dec 2006 12:53:46 -0800
- Subject: Re: echo hi|egrep -v ho #no output
- References: <200612012037.kB1KbY8b006101@tigris.pounder.sol.net>
- Reply-to: cygwin at cygwin dot com
Tom Rodman wrote:
> ~ $ echo hi|egrep -v ho
WJFFM.
Note that egrep is a /bin/sh script that just calls grep -E. So if your
sh.exe was in use or something went wrong in the bash postinstall you
may not have a functioning sh.exe. Try "grep -E" and if this works but
egrep does not then check your sh.exe, it should be an identical copy of
bash.exe. Worst cast, just "cp -p /bin/{bash,sh}.exe".
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/