> Bash Version: 3.0
> Patch Level: 13
> Release Status: release
>
> Description:
>
> `pushd DIR' fails to work if DIR starts with a hyphen.
> Using `pushd -- DIR' does not help.
Thanks for the report.
The first check for `--' is not superfluous; it exists to make `pushd --'
and `pushd' equivalent, which is clumsy to do with the existing options
loop.
I have fixed the problem, but you can easily work around it by using
`pushd ./-foo'.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live...Laugh...Love
Chet Ramey, ITS, CWRU chet@po.cwru.edu http://tiswww.tis.cwru.edu/~chet/