bug-bash
[Top][All Lists]
Advanced

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

[50 character or so descriptive subject here (for reference)]


From: root
Subject: [50 character or so descriptive subject here (for reference)]
Date: Mon, 14 Jan 2002 15:47:02 +0100

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DSHELL -DHAVE_CONFIG_H  -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64  -I.  -I. -I./include -I./lib -I/usr/include -O2 
-march=i386 -mcpu=i686
uname output: Linux pc10 2.4.9-13 #1 Tue Oct 30 20:05:14 EST 2001 i686 unknown
Machine Type: i386-redhat-linux-gnu

Bash Version: 2.05
Patch Level: 8
Release Status: release

Description:
        filename globbing does not work correctly

Repeat-By:

Consider the three Files a, b, c under redhat 7.2, login via ssh:

        address@hidden tmp]# cat /etc/issue
        Red Hat Linux release 7.2 (Enigma)
        Kernel \r on an \m

        address@hidden tmp]# ll a b c
        -rw-r--r--    1 root     root            0 Jan 14 15:21 a
        -rw-r--r--    1 root     root            0 Jan 14 15:21 b
        -rw-r--r--    1 root     root            0 Jan 14 15:21 c
        address@hidden tmp]# echo [A-Z] 
        [A-Z]
        address@hidden tmp]#

this is ok, now login as root directly at the machines X Windows,
the echo output is completely different:

        address@hidden tmp]# echo [A-Z]
        b c
        address@hidden tmp]# echo address@hidden 
        2 05 8 1 release i386-redhat-linux-gnu
        address@hidden tmp]# shopt
        cdable_vars     off
        cdspell         off
        checkhash       off
        checkwinsize    off
        cmdhist         on
        dotglob         off
        execfail        off
        expand_aliases  on
        extglob         off
        histreedit      off
        histappend      off
        histverify      off
        hostcomplete    on
        huponexit       off
        interactive_comments    on
        lithist         off
        mailwarn        off
        no_empty_cmd_completion off
        nocaseglob      off
        nullglob        off
        progcomp        on
        promptvars      on
        restricted_shell        off
        shift_verbose   off
        sourcepath      on
        xpg_echo        off
        address@hidden tmp]#



reply via email to

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