Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Organization: VERITAS Software X-Mailer: Mozilla 4.73 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: David Starks-Browning CC: Cygwin Subject: Re: Possible Bug (never know) References: <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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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