delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/09/09:46:43

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
MIME-Version: 1.0
Message-ID: <15016.60551.581608.362225@jupiter.akutech-local.de>
Date: Fri, 9 Mar 2001 15:45:27 +0100
From: Ralf Fassel <ralf AT akutech DOT de>
To: Andrej Borsenkow <Andrej DOT Borsenkow AT mow DOT siemens DOT ru>
Cc: <cygwin AT cygwin DOT com>
Subject: Re: different behaviour of bash and sh
In-Reply-To: <Pine.SV4.4.33.0103091731390.26055-100000@itsrm2.mow.siemens.ru>
References: <3AA8CFB3 DOT 4B515116 AT yahoo DOT com>
<Pine DOT SV4 DOT 4 DOT 33 DOT 0103091731390 DOT 26055-100000 AT itsrm2 DOT mow DOT siemens DOT ru>
Organization: Akustik Technologie Goettingen (ATG)

* Andrej Borsenkow
| So what? The question is, if the exibited behaviour of *sh* is
| correct; the question was not "if sh is bash".

Earnie wanted to point out that my report was inappropriate at the
bash-bug mailinglist (which I had included since on my Linux systems
/bin/sh is a link to /bin/bash, so I just assumed the two being
identical on Cygwin too, which is not the case end of long sentence)

| IMHO that is a bug in sh (or ash if you insist). The 'echo $?' is
| the next command executed after 'false' - so , there is nothing that
| can change the value of '$?' in between.

For completeness sake: On my SUSE 7.1 System, `ash', `sh' and `bash'
all echo `1', so I think this is really a problem in the cygwin port
of `ash' which gets installed as /bin/sh.

I just had a quick glance at the ash source, but I'm in for the
weekend now, so no patches :-)

R'

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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