[Bash-completion-devel] [bash-completion-Bugs][312458] Bash completion for wget -o doesn't escape spaces
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Tue Apr 13 11:45:41 UTC 2010
Bugs item #312458, was opened at 2010-04-13 11:45
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312458&group_id=100114
Status: Open
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Bash completion for wget -o doesn't escape spaces
Distribution: --Distribution-Agnostic--
Originally reported in: Ubuntu Launchpad
Milestone: None
Status: None
Original bug number: 435055
Initial Comment:
Anonymous message posted by martin at martineve.com
Binary package hint: bash-completion
Ubuntu version: 9.04
wget: 1.11.4-2ubuntu1
bash-completion: 20080705ubuntu3
When using the -O [logfile] option for wget and trying to complete a directory name or filename, spaces aren't escaped.
Steps:
wget -O ~/folder/start-of-folder-with-spaces-in-it<TAB>
Expected result:
wget -O /home/martin/fully\ escaped\ name\ of\ folder
Actual result:
wget -O /home/martin/fully escaped name of folder
Patch (applied for Ubuntu Lucid) attached. This works by removing wget from the programs exempted from the -o filename option.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312458&group_id=100114
More information about the Bash-completion-devel
mailing list