delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/12/09:17:43

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

zzapper wrote:
> On Tue, 12 Jul 2005 04:53:43 -0700,  wrote:
> 
> 
>>zzapper wrote:
>>
>>
>>>Since last downloads (basefiles?) egrep has disappeared.
>>>egrep is just an alias or link to grep.exe of course.
>>>
>>>I have added my own alias as a work around.
>>
>>Looks fine to me: <http://cygwin.com/packages/grep/grep-2.5-1>.
>>
>>Brian
> 
> 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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019