egrep disappeared?

Cliff Hones cliff@hones.org.uk
Tue Jul 12 13:37:00 GMT 2005


zzapper wrote:
> On Tue, 12 Jul 2005 14:17:02 +0100,  wrote:
> 
> 
> 
>>>Funny thing "which" finds egrep in /usr/bin /bin etc
>>>they are also in my path.
>>>
>>>bash: /usr/bin/egrep: /bin/sh: bad interpreter: No such file or directory
>>
>>Well, there's your answer - it's /bin/sh which you have missing, not egrep.
>>In Cygwin egrep is a shell script rather than a symlink.  I believe there
>>was a window during the recent changeover of /bin/sh from ash to bash where
>>the update could cause /bin/sh to be deleted.  Just copy /usr/bin/bash to
>>/usr/bin/sh and all should be well.
>>
>>-- Cliff
> 
> 
> Cliff,
> thnx that solved it!!
> 
> Was it most likely just a glitch on my update?

Yes - a short-lived bug in the postinstall scripts.  See:

   http://sourceware.org/ml/cygwin/2005-07/msg00224.html

-- Cliff


--
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