I can confirm this on a current hardy install.
It is a problem with bash, not bash-completion.
In the given test-case compgen -f does not work correctly:
$ touch "1'1 1" "1'2 2" $ compgen -f 1\' 1'2 2 1'1 1 $ compgen -f 1\'1 $ echo $? 1
I can confirm this on a current hardy install.
It is a problem with bash, not bash-completion.
In the given test-case compgen -f does not work correctly:
$ touch "1'1 1" "1'2 2"
$ compgen -f 1\'
1'2 2
1'1 1
$ compgen -f 1\'1
$ echo $?
1