bug-bash
[Top][All Lists]
Advanced

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

strange bash state adds forward slash '/' after tab-completed executable


From: David Emerson
Subject: strange bash state adds forward slash '/' after tab-completed executables
Date: Sun, 11 Mar 2007 20:34:56 -0700
User-agent: KMail/1.9.5

Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation 
CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' 
-DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VE$
uname output: Linux scooter 2.6.18-4-scooter #1 SMP Sun Mar 4 04:03:09 
PST 2007 i686 GNU/Linux
Machine Type: i486-pc-linux-gnu

Bash Version: 3.1
Patch Level: 17
Release Status: release

Description:
        see reproduction steps

Repeat-By:
        1. type `/lost<TAB>
        2. it should tab-complete to `/lost+found/
        3. add the other backtick and execute this nonsense: `/lost+found/`
        4. now we are in a strange state!
        5. type egr<TAB>
        6. ...it completes to 'egrep/'

Note: this only works if you tab-complete the forward-slash after 
`/directory/ ... if you type `/bin/<TAB>` then it will not get to this 
strange state.

Fix: ???






reply via email to

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