Package: bash
Version: 3.1-1
Severity: normal
File: /etc/bash_completion
Tab completion is broken for ssh(1)'s host argument. To reproduce this
problem, execute the following commands at a bash prompt.
rm -f ~/.ssh/known_hosts
touch ~/.ssh/known_hosts
. /etc/bash_completion
_known_hosts -a
ssh
and press TAB.
To fix this, change line 2478
hosts=$( compgen -W "$( sed -ne "s/^[Hh][Oo][Ss][Tt]["$'\t
'"]*\([^*?]*\)$/\1/p" [EMAIL PROTECTED] )" -- $ocur )
should instead read
hosts=$( compgen -W "$( sed -ne "s/^[Hh][Oo][Ss][Tt][$'\t
']*\([^*?]*\)$/\1/p" [EMAIL PROTECTED] )" -- $ocur )
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.8-powerpc
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Versions of packages bash depends on:
ii base-files 3.1.9 Debian base system miscellaneous f
ii debianutils 2.15.2 Miscellaneous utilities specific t
ii libc6 2.3.5-11 GNU C Library: Shared libraries an
ii libncurses5 5.5-1 Shared libraries for terminal hand
bash recommends no packages.
-- no debconf information
--
Trent Buck, Student Errant
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]