bash completion for scp overescapes spaces and does not correctly re-filter ("\\\ " instead of "\ ")
Bug #482753 reported by
Martin Eve
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash-completion (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bash-completion
OS: Karmic 9.10
Directory structure on target:
/home/martin/
Type:
scp target:
Expected:
scp target:
Actual:
scp target:
To summarise, it is impossible to do any further autocompletion once the \\\ escape sequence has been given.
This is caused by the incorrect line:
# unescape spaces
path=
in contrib/ssh
It should, instead, read:
# unescape spaces
path=
Aiming to do a fix for this asap.
Patch at https:/ /bugs.launchpad .net/ubuntu/ +source/ bash-completion /+bug/449349 comment #25:
http:// launchpadlibrar ian.net/ 35968265/ bash_completion _scp_fixes. debdiff