delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/27/14:15:52

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
Message-ID: <3A22B2F6.D76E0BEA@veritas.com>
Date: Mon, 27 Nov 2000 11:16:06 -0800
From: Bob McGowan <rmcgowan AT veritas DOT com>
Organization: VERITAS Software
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
CC: Cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: Possible Bug (never know)
References: <OFB84E0BB5 DOT 8AFF1773-ON8525699E DOT 0077B717 AT gdls DOT com>
<4 DOT 3 DOT 1 DOT 2 DOT 20001121181635 DOT 020d7c88 AT pop DOT ma DOT ultranet DOT com>
<20001121190609 DOT A13780 AT redhat DOT com> <1169-Wed22Nov2000121744+0000-starksb AT ebi DOT ac DOT uk>

The "standard" sh found on Solaris 2.7 does not recognize pushd/popd so I'd suggest "not expected to support" as the answer.

On the flip side, Solaris sh recognizes functions but really old sh's didn't have that feature either, so you could argue either way.  I think I'd still go with "not
expected" though.

David Starks-Browning wrote:
> 
> On Tuesday 21 Nov 00, Christopher Faylor writes:
> > >>[2] In cygwin-B20 and in the current version, 'pushd', 'popd'
> > >>     work in a Bash shell but not in a script.
> >
> > It's an ash versus bash thing.  ash (aka /bin/sh) does not support pushd
> > or popd.  Bash does.
> 
> Is /bin/sh (not ksh or bash) normally expected to support pushd and
> popd?  If so, and it's something ommitted from ash, I'll add this to
> the FAQ under "Why doesn't my script work?".
> 
> Cheers,
> David
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

-- 
Bob McGowan
Staff Software Quality Engineer
VERITAS Software
rmcgowan AT veritas DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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