Package: bash Version: 2.05b-26 Severity: normal
If the readline option completion-ignore-case is on and a name completion attempt fails because there is ambiguity about the next character, then any special characters in the name are escaped even though they must already be escaped. The escaped name is truncated to the number of characters it represents before undergoing re-escaping. This does not happen if any further characters can be guessed or if completion-ignore-case is off. This bug appears to have been fixed in version 3. Example: $ mkdir foo\ bar foo\ baz $ echo 'set completion-ignore-case on' >inputrc $ echo 'set show-all-if-ambiguous on' >>inputrc $ INPUTRC=inputrc bash $ cd foo # press tab foo bar foo baz $ cd foo\ ba # press tab again foo bar foo baz $ cd foo\\\ b (show-all-if-ambiguous does not need to be set, but it means bash won't modify the command line in place and hopefully makes the example clearer.) -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (990, 'testing'), (600, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-k7 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages bash depends on: ii base-files 3.1.2 Debian base system miscellaneous f ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an ii libncurses5 5.4-4 Shared libraries for terminal hand ii passwd 1:4.0.3-30.7 Change and administer password and -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]