[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 15:42:39 UTC 2010


Bugs item #312458, was changed at 2010-04-13 14:45 by Ville Skyttä 
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312458&group_id=100114

>Status: Closed
Priority: 3
Submitted By: Nobody (None)
>Assigned to: Ville Skyttä  (scop-guest)
Summary: Bash completion for wget -o doesn't escape spaces 
Distribution: --Distribution-Agnostic--
Originally reported in: Ubuntu Launchpad
Milestone: None
>Status: Fix Committed
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.

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

>Comment By: Ville Skyttä  (scop-guest)
Date: 2010-04-13 18:42

Message:
Fixed in http://git.debian.org/?p=bash-completion/bash-completion.git;a=commitdiff;h=855edbfdb7d46b7533b0f08843fb808b104c1d1f

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

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