Package: bash Version: 3.1-1 Severity: normal Tags: patch Line 2478 contains wrong sed command: " should be quoted because scp <Tab> gives an error sed: -e expression #1, char 20: unterminated `s' command
The patch: --- bash_completion.old 2005-12-18 16:34:24.420087750 +0600 +++ bash_completion 2005-12-18 16:33:42.773485000 +0600 @@ -2475,7 +2475,7 @@ _known_hosts() 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 -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14.3 Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) 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.old 2005-12-18 16:34:24.420087750 +0600 +++ bash_completion 2005-12-18 16:33:42.773485000 +0600 @@ -2475,7 +2475,7 @@ _known_hosts() 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