delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/26/10:37:33

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: <430F2958.593C83C@dessent.net>
Date: Fri, 26 Aug 2005 07:38:16 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problem with sh/bash and snapshot cygwin1-20050825.dll
References: <430E9B0B DOT 8040303 AT scytek DOT de> <430F252F DOT 6090802 AT scytek DOT de>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT 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/

- Raw text -


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