[Bash-completion-devel] Bug#778339: bash-completion: scp completion is broken on files with special characters such as *

Vincent Lefevre vincent at vinc17.net
Fri Feb 13 17:25:02 UTC 2015


Package: bash-completion
Version: 1:2.1-4
Severity: normal

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.

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages bash-completion depends on:
ii  bash  4.3-12
ii  dpkg  1.17.23

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information



More information about the Bash-completion-devel mailing list