|
Re: `pushd DIR' fails when DIR starts with "-": msg#00209shells.bash.bugs
> 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@xxxxxxxxxxx http://tiswww.tis.cwru.edu/~chet/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: 'true' built-in not documented: 00209, Felipe Kellermann |
|---|---|
| Next by Date: | Re: [PATCH] new shopt `colonbreakswords' for bash 3.0: 00209, Chet Ramey |
| Previous by Thread: | `pushd DIR' fails when DIR starts with "-"i: 00209, Glenn Morris |
| Next by Thread: | New Drug store Elsa: 00209, Federico Queen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |