bug-bash
[Top][All Lists]
Advanced

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

Tab completion of commands in directories with spaces adds extra backsla


From: Adam Buchbinder
Subject: Tab completion of commands in directories with spaces adds extra backslashes.
Date: Tue, 27 Oct 2009 09:29:16 -0400
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

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' -D$
uname output: Linux adam-linux 2.6.28-15-generic #49-Ubuntu SMP Tue Aug
18 18:40:08 UTC 2009 i686 GNU/Linux
Machine Type: i486-pc-linux-gnu

Bash Version: 3.2
Patch Level: 48
Release Status: release

Description:
        When tab-completing the name of a command, if that command is
        inside a directory with spaces in its name, the tab completion
        will add extra backslashes.

Repeat-By:
        $ mkdir ~/'x y'/'z w'
        $ ~/x<TAB><TAB>

        After this, the command line will look like this:
        $ ~/x\\\ y/z\ w
        It should look like this:
        $ ~/x\ y/z\ w




reply via email to

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