bash: pushd

Earnie Boyd earnie_boyd@yahoo.com
Sat Jul 31 18:34:00 GMT 1999


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@mail.kolej.mff.cuni.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@sourceware.cygnus.com
> 
> 

===
Earnie Boyd < mailto:earnie_boyd@yahoo.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@sourceware.cygnus.com



More information about the Cygwin mailing list