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_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -g -O2 -Wall uname output: Linux arthur 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686 GNU/Linux Machine Type: i486-pc-linux-gnu
Bash Version: 3.2 Patch Level: 33 Release Status: release Description: It is best described by the example below: This is related to: https://bugs.launchpad.net/ubuntu/+source/bash/+bug/123665 https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/197183 Repeat-By: [EMAIL PROTECTED]:~$ mkdir test [EMAIL PROTECTED]:~$ cd test [EMAIL PROTECTED]:~/test$ mkdir -p "STORE'N'GO/test" [EMAIL PROTECTED]:~/test$ mkdir -p "STORE\'N\'GO/test" [EMAIL PROTECTED]:~/test$ compgen -f "STORE\'N" STORE'N'GO [EMAIL PROTECTED]:~/test$ ls STORE\<TAB> # This will delete the backslash. # Then press CTRL-C [EMAIL PROTECTED]:~/test(1)$ compgen -f "STORE\'N" [EMAIL PROTECTED]:~/test(1)$ Strangely this will still work: [EMAIL PROTECTED]:~/test(1)$ compgen -f "STORE\\\\\\'N" STORE'N'GO And this also works before the messup. Can somebody explain where the all the backslashes go? Regards, Mika