Mail Archives: djgpp/2001/03/19/02:41:53
On Sun, 18 Mar 2001, Jason Green wrote:
> bash-2.04$ rmdir c:/foo
> 
>  press TAB
> 
> bash-2.04$ rmdir c:/foo bar/
> 
> The directory is obviously found ok, but the colon and space have not
> been escaped.
I'm not sure the colon needs to be escaped (why?), but the space
should.
Also, perhaps Bash should support completion when the file name is
quoted, like this:
  bash-2.04$ rmdir "c:/foo TAB
Right now, I need to type this:
  bash-2.04$ rmdir "c:/foo" TAB
(note the closing quote) to get Bash 2.04 DTRT, but it then removes
the quotes after the completion :-(.
I guess this is one more reason not to use spaces in file names ;-)
- Raw text -