bug-bash
[Top][All Lists]
Advanced

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

confusing: command completion expands to directory names


From: Al Elgert
Subject: confusing: command completion expands to directory names
Date: Fri, 18 Jan 2002 19:01:42 +0100
User-agent: Mutt/1.3.25i

Configuration Information [Automatically generated, do not change]:
Machine: sparc
OS: solaris2.7
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc' 
-DCONF_OSTYPE='solaris2.7' -DCONF_MACHTYPE='sparc-sun-solaris2.7' 
-DCONF_VENDOR='sun' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib -g 
-O2
uname output: SunOS ultra18 5.8 Generic_108528-12 sun4u sparc 
SUNW,Sun-Blade-1000
Machine Type: sparc-sun-solaris2.7

Bash Version: 2.05a
Patch Level: 0
Release Status: release

Description:

Please compare the output of bash2.05a with the older bash2.04, thanks.
Note, that "static" is a directory in one of the elements of $PATH.

        $ static; echo $BASH_VERSION
        bash: static: command not found
        2.05a.0(1)-release


        $ static; echo $BASH_VERSION 
        bash.2.04.0: /usr/sbin/static: is a directory
        2.04.0(1)-release

The latter information is very useful, because type does not tell you, what
"static" is and the command completion happily completes to the directory.

greetings
        Alexander

-- 
Alexander Elgert
Public Gruppe
RechnerBetriebsGruppe    TU Darmstadt  (FB 20)   Tel:  +49 06151 16-4333
                                                 Raum: S1/13 11a (alt 25/11a)



reply via email to

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