[Bash-completion-devel] Bug#742466: File & line where the error is printed
Julien Jorge
julien.jorge at stuff-o-matic.com
Sun Apr 27 17:03:55 UTC 2014
Hi,
I encounter this bug too. The error occurs at line 560
of /usr/share/bash-completion/bash_completion.
For example, with bash launched with the -x option, the command below
produces the following output.
$ echo $(find [TAB]
Output:
+ _quote_readline_by_ref '$(find ' quoted
+ '[' -z '$(find ' ']'
+ [[ $(find == \'* ]]
+ [[ $(find == ~* ]]
+ printf -v quoted %q '$(find '
+ [[ \$\(find\ == *\\* ]]
+ printf -v quoted %s '$(find '
+ [[ $(find == \$* ]] # line 560
+ eval 'quoted=$(find '
bash: unexpected EOF while looking for matching `)'
bash: syntax error: unexpected end of file
Regards,
Julien
More information about the Bash-completion-devel
mailing list