[Pkg-mc-devel] Bug#326047: (no subject)

Patrick Winnertz winnie at debian.org
Thu Feb 21 15:22:28 UTC 2008


>Package: mc
>Version: 4.6.0
>
>When I use <M-Tab> on a directory with name with spaces, it
>incorrectly completes the name without escaping the spaces.
>For example:
>
>mkdir "a b c"
>mkdir "a b c/d"
>
>cd a<M-Tab> will yield
>cd a b c/
>
>Pressing <M-Tab> again will not complete "d"
>
>Moreover, this has funny results when used as a shell command:
>
>mkdir "a "
>
>rm -rf a<M-Tab><Enter>
>
>will yield:
>
>rm -rf a /
Mh... I can't even create such a directory on my pc:

energy% mkdir "a b c/d"
mkdir: kann Verzeichnis „a b c/d“ nicht anlegen: Datei oder Verzeichnis 
nicht gefunden
energy% mkdir "a b c\/d"
mkdir: kann Verzeichnis „a b c\\/d“ nicht anlegen: Datei oder Verzeichnis 
nicht gefunden


But the last one: rm -rf a / is still silly...

Greetings
Winnie

-- 
 .''`.   Patrick Winnertz <winnie at debian.org>
:  :' :  GNU/Linux Debian Developer
`. `'`   http://www.der-winnie.de http://people.skolelinux.org/~winnie
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-mc-devel/attachments/20080221/c2a1ebfb/attachment.pgp 


More information about the Pkg-mc-devel mailing list