Bash programmed autocomplete of commands with space within backquotes fails

Bug #254426 reported by Thomas Guyot-Sionnest
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash-completion (Debian)
Fix Released
Unknown
bash-completion (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: bash

With Bash programable autocomplete (/etc/bash_completion), commands within backquotes containing a space doesn't get autocompleted properly:

$ touch ~/some_file_`date -I`.txt
$ ls ~/some_file_`date -I`.txt
/home/gaby/some_file_2008-08-03.txt

So far this works, but if I press the <TAB> key at the end of the command:
$ ls ~/some_file`date /home/gaby/some_file_2008-08-03.txt

The autocompletion doesn't overwrite the whole argument and leaves "~/some_file`date " in front of it.

This bug could be related to Bug #219406

PS: The backquotes feature works only with bash programmed completion (/etc/bash_completion).

Revision history for this message
Ralph Janke (txwikinger) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in bash:
importance: Undecided → Low
status: New → Triaged
description: updated
Changed in bash-completion:
status: Unknown → Confirmed
Changed in bash-completion (Debian):
status: Confirmed → Fix Released
Changed in bash-completion (Ubuntu):
status: Triaged → Fix Released
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.