Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <378E8172.42692CCB@dgs.monash.edu.au>
Date: Fri, 16 Jul 1999 10:48:50 +1000
From: Brendan Simon <brendan@dgs.monash.edu.au>
Reply-To: brendan@dgs.monash.edu.au
Organization: CTAM Pty Ltd
X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.0.36 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: Hans GINZEL <hgin2088@mail.kolej.mff.cuni.cz>
CC: cygwin@sourceware.cygnus.com
Subject: Re: bash: pushd
References: <Pine.BSF.4.05.9907160230050.15929-100000@mail.kolej.mff.cuni.cz>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


It seems that pushd is not in the path when you run your script.
Try putting "echo $PATH" in your script to see what the path is set to
when the script is exectued.

Brendan Simon.

Hans GINZEL 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


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

