[Bash-completion-devel] [PATCH] _filedir: Properly quote paths.

Ville Skyttä ville.skytta at iki.fi
Wed Jan 18 21:33:30 UTC 2012


On 2012-01-18 16:29, Igor Murzov wrote:
> Can somebody review this patch and run test/runUnit with the patch applied?
> The patch needs to be tested with bash-4.2 and I don't have one. 
> This patch fixes following test case for me:
>  
>  $ mkdir test
>  $ cd test
>  $ touch 'x' '[x]'
>  $ ls [x<TAB>   # <- gives "ls x" instead of "ls [x]"

Fixes it for my 4.2.20(1) as well, and doesn't introduce new runUnit
failures.  My confidence in the test suite is a bit shaky at the moment
though because of
https://alioth.debian.org/tracker/index.php?func=detail&aid=313480&group_id=100114&atid=413095

I wonder why the test case is not part of the patch though ;)



More information about the Bash-completion-devel mailing list