[Bash-completion-devel] [bash-completion-Bugs][311411] ULP 254426: Autocomplete of fileames with backquote expansion leaves garbage
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Fri Jan 30 09:28:00 UTC 2009
Bugs item #311411, was opened at 30/01/2009 10:27
Status: Open
Priority: 2
Submitted By: David Paleino (hanska-guest)
Assigned to: Nobody (None)
Summary: ULP 254426: Autocomplete of fileames with backquote expansion leaves garbage
Distribution: None
Originally reported in: Ubuntu Launchpad
Milestone: None
Original bug number: 254426
Initial Comment:
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.
----------------------------------------------------------------------
>Comment By: David Paleino (hanska-guest)
Date: 30/01/2009 10:28
Message:
DBTS 511151:
From: James Westby <james.westby at canonical.com>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: Autocomplete of fileames with backquote expansion leaves garbage
Date: Wed, 07 Jan 2009 19:53:22 +0000
Package: bash-completion
Version: 20080705
Severity: minor
Hi,
In https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/254426
"dermoth" reported the following.
"
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.
"
Confirmed on sid.
Note that you have to have "~" or a directory portion, the bug
doesn't happen if you complete a filename in cwd.
Thanks,
James
----------------------------------------------------------------------
You can respond by visiting:
http://alioth.debian.org/tracker/?func=detail&atid=413095&aid=311411&group_id=100114
More information about the Bash-completion-devel
mailing list