#778339 bash-completion: scp completion is broken on files with special characters such as *

#778339#5
Date:
2015-02-13 17:25:02 UTC
From:
To:
scp completion is broken on files with special characters such as *,
as bash forgets to quote them.

To reproduce, on the remote side, create two files:

  abc*defghi
  abc*dzzzdefghi

Then type:

  scp host:ab[TAB]

One gets:

  scp host:abc*d

But if one types 'e' and [TAB], the completion doesn't work.

Note: zsh doesn't have this problem.