Just found the following bug:

$ var=$(id) find -<tab>
bash: eval: line1: syntax error near unexpected « ) »
bash: eval: line1: `local cmd=id)'

There is a bug from bash (completions from `id` instead of `find`) but
bash-completion should be more robust to this.
I didn't dug further but some entry points for variables may probably be
sanitized (or at least quoted) a bit more.


regards

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to