You say "overescapes", but scp is buggy at a protocol level and actually
does require this double-escaping.  Demonstration:

  <cjwat...@riva ~>$ touch 'file with spaces'
  <cjwat...@sarantium ~>$ scp riva:file\ with\ spaces .
  scp: file: No such file or directory
  scp: with: No such file or directory
  scp: spaces: No such file or directory
  <cjwat...@sarantium ~>$ scp riva:file\\\ with\\\ spaces .
  file with spaces                                                              
                                                                                
                  100%    0     0.0KB/s   00:00

Are you quite sure that your patch is correct, in light of this?

-- 
bash completion for scp overescapes spaces and does not correctly re-filter 
("\\\ " instead of "\ ")
https://bugs.launchpad.net/bugs/482753
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to