bug-bash
[Top][All Lists]
Advanced

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

tab completion error with backslash and colon


From: paul
Subject: tab completion error with backslash and colon
Date: Sun, 26 Jan 2003 12:55:40 +0000

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib  -g -O2
uname output: Linux garbage 2.4.17 #1 SMP Thu Jan 3 14:44:26 GMT 2002 i686 
unknown
Machine Type: i686-pc-linux-gnu

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

Description:

In my directory I noticed a file (that I couldn't account for) called 
'c:\trace_b.txt'
without quotes of course. I wanted to delete this file. So I typed:

$ rm c<TAB>

which brought up the list of items in the dir beginning with 'c'. No surprises 
yet. 
So then I append ':<TAB>' to the previous command to complete the file I wished 
to
delete:

$ rm c<TAB>:<TAB>

which presented me with the following:

rm c:c\:\\trace_b.txt 

after expansion. This is of course not the file I wish to delete - in fact this 
file 
does not exist. Looks like some crazy backslash expansion has happened. 

Not of major importance to me, I infrequently have files named in such a way.

Repeat-By:

See above.





reply via email to

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