Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: zzapper Subject: Re: egrep disappeared? Date: Tue, 12 Jul 2005 14:27:45 +0100 Lines: 25 Message-ID: <58h7d11jv5hs2pkmb221tc1qcof7l3dons@4ax.com> References: <7g07d1h7uoi0mfdi2g5pcoot95ud2ua0j0 AT 4ax DOT com> <42D3AF47 DOT E74B0D9D AT dessent DOT net> <42D3C2CE DOT 9070207 AT hones DOT org DOT uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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? -- zzapper vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?" http://www.rayninfo.co.uk/tips/ vim, zsh & success tips -- 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/