Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: i386-redhat-linux-gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib
-D_FILE_OFFSET_BITS=64 -O2 -g -pipe -m32 -march=i386 -mtune=pentium4
uname output: Linux firewall.hydrosoft 2.6.11-1.35_FC3 #1 Mon Jun 13
00:52:08 EDT 2005 i686 i686 i386 GNU/Linux
Machine Type: i386-redhat-linux-gnu

Bash Version: 3.0
Patch Level: 14
Release Status: release

Description:
        pushd should accept dirs beginning with - e.g. "-test-dir-" by using
pushd -- -test-dir-, this does not work:

        [EMAIL PROTECTED] ~]# pushd -- -a
        bash: pushd: -a: invalid number
        pushd: usage: pushd [dir | +N | -N] [-n]

Repeat-By:
        mkdir -- "-test-dir-";
        pushd -- -test-dir-




_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to