Bugs item #311411, was changed at 2009-01-30 12:27 by Igor Murzov
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=311411&group_id=100114

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
Status: 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: Igor Murzov (garik-guest)
Date: 2011-12-19 21:55

Message:
I can't reproduce this.

----------------------------------------------------------------------

Comment By: David Paleino (hanska-guest)
Date: 2009-01-30 12:28

Message:
DBTS 511151:

From: James Westby <james.wes...@canonical.com>
To: Debian Bug Tracking System <sub...@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: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=311411&group_id=100114

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to