adobereader-deu breaks bash autocompletion

Bug #780702 reported by Rodrigo Rivas Costa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
adobereader-deu (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: adobereader-deu

Ubuntu Natty 11.04
adobereader-deu 9.4.2-0maverick1

This package installs a file under "/etc/bash_completion.d/acroread.sh" to do the bash autocompletion of PDF files.
The problem here is that it contains a _filedir() function, similar but not identical to the one from /etc/bash_completion.

Then, the autocompletion of some commands such as ls does not escape especial characters.
Testcase:

$ touch 'aaa bbb'
$ ls aaa<TAB>
Autocompleted to:
$ ls aaa bbb

See that the blank character is not escaped. It should be:
$ ls aaa\ bbb

Regards.
--
Rodrigo

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.