echo hi|egrep -v ho #no output

Brian Dessent brian@dessent.net
Fri Dec 1 20:53:00 GMT 2006


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/



More information about the Cygwin mailing list