[Bash-completion-devel] ./current r1326: Improved strace completion, undefined _command_offset() found.

Freddy Vulto fvulto at gmail.com
Sun Mar 1 15:56:17 UTC 2009


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-bash@gnu.org/msg01667.html

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

Regards, Freddy Vulto
http://fvue.nl




More information about the Bash-completion-devel mailing list