Freddy Vulto <fvulto <at> gmail.com> writes:
> Debian is giving me whole other problems though:
> $ sudo rpm -q <TAB>rpm: To install rpm packages on Debian systems, use
> ...
> bash: bad substitution: no closing `)' in $(
>               compgen -d -- "$(quote_readline "$cur")" | {
>                       while read -r tmp; do
>                               # TODO: I've removed a "[ -n $tmp ] &&" before,

It appears that: both single and double quotes, appearing in a comment within a
subshell, causes the error above, up to and including bash-3.1.  See also:
http://www.mail-archive.com/bug-b...@gnu.org/msg01667.html

I'm moving the `TODO' comment outside of the subshell.

Regards, Freddy Vulto
http://fvue.nl


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

Reply via email to