Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <42D3C78F.6030406@hones.org.uk>
Date: Tue, 12 Jul 2005 14:37:19 +0100
From: Cliff Hones <cliff@hones.org.uk>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: zzapper <david@tvis.co.uk>
CC: cygwin@cygwin.com
Subject: Re: egrep disappeared?
References: <7g07d1h7uoi0mfdi2g5pcoot95ud2ua0j0@4ax.com> <42D3AF47.E74B0D9D@dessent.net> <ffd7d1dfmekeqihmgeuh7vmumqulm6mcrv@4ax.com> <42D3C2CE.9070207@hones.org.uk> <58h7d11jv5hs2pkmb221tc1qcof7l3dons@4ax.com>
In-Reply-To: <58h7d11jv5hs2pkmb221tc1qcof7l3dons@4ax.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.0 (--)
X-IsSubscribed: yes

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/

