Package: bash Version: 3.1-1 Severity: normal
scp <TAB> results in: $ scp sed: -e expression #1, char 20: unterminated `s' command sed: -e expression #1, char 20: unterminated `s' command fix (patch for /etc/bash_completion) attached -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (1100, 'unstable'), (990, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-2-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) 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-8.1 GNU C Library: Shared libraries an ii libncurses5 5.5-1 Shared libraries for terminal hand bash recommends no packages. -- no debconf information
--- bash_completion.orig 2005-12-15 17:37:49.000000000 +0000 +++ bash_completion 2005-12-15 17:36:37.000000000 +0000 @@ -2475,7 +2475,7 @@ fi # append any available aliases from config files if [ [EMAIL PROTECTED] -gt 0 ] && [ -n "$aliases" ]; then - hosts=$( compgen -W "$( sed -ne "s/^[Hh][Oo][Ss][Tt]["$'\t '"]*\([^*?]*\)$/\1/p" [EMAIL PROTECTED] )" -- $ocur ) + hosts=$( compgen -W "$( sed -ne "s/^[Hh][Oo][Ss][Tt][$'\t ']*\([^*?]*\)$/\1/p" [EMAIL PROTECTED] )" -- $ocur ) COMPREPLY=( [EMAIL PROTECTED] $hosts ) fi