Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-ID: <430F2958.593C83C@dessent.net> Date: Fri, 26 Aug 2005 07:38:16 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Problem with sh/bash and snapshot cygwin1-20050825.dll References: <430E9B0B.8040303@scytek.de> <430F252F.6090802@scytek.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin@cygwin.com Volker Quetschke wrote: > > If I change the first line to: > > #! /bin/bash > > it surprisingly works with both snapshots. > The surprising thing is that bash.exe = sh.exe (bash version 3.0-11). It's not surprising, because bash sets itself in posix mode when invoked as sh. It does 'cd' differently in this mode, as explained in that post of Eric Blake's. 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/