bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: popd with garbage parameter removes entry from dirs but doesn't cd.


From: Chet Ramey
Subject: Re: popd with garbage parameter removes entry from dirs but doesn't cd.
Date: Tue, 7 Mar 2017 13:24:24 -0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.1

On 3/7/17 6:28 AM, address@hidden wrote:

> Description:
>       popd with garbage parameter removes entry from dirs but doesn't cd.
>       Example: popd lsdfjlskfj
> 
> Repeat-By:
>       cd /some/directory
>       pushd /tmp
>       dirs
>       popd skdfhksjdfhkjsdf
>       pwd;dirs

This was changed to print an error message about an invalid argument
before bash-4.3 was released.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]