delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/07/16/07:47:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990716114705.2586.rocketmail@web104.yahoomail.com>
Date: Fri, 16 Jul 1999 07:47:05 -0400 (EDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: bash: pushd
To: Hans GINZEL <hgin2088 AT mail DOT kolej DOT mff DOT cuni DOT cz>,
cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

You're obviously not executing from bash but from sh which is a stripped down
version of ash.  sh doesn't support pushd.

--- Hans GINZEL <hgin2088 AT mail DOT kolej DOT mff DOT cuni DOT cz> wrote:
> 
> 	Hello!
> 
>    Why is not possible to use  pushd  in bash scripts?
>    
>    Try this session:
> 
> 	$ mkdir temp
> 	$ echo "pushd temp" >a
> 	$ ./a
> 	pushd: not found
> 	$ pushd temp
> 	/temp /
> 	$ rmdir temp
> 	$ rm a
> 
> 						Hans
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> 
> 

===
Earnie Boyd <mailto:earnie_boyd AT yahoo DOT com>

Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>

(If you respond to the list, then please don't cc me)
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.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