Package: bash
Version: 3.1-1
Severity: minor
Tags: patch

This simple patch fixes the sed error you get when completing a ssh
command:

---8<---
--- /etc/bash_completion~       2005-12-10 01:03:54.000000000 +0100
+++ /etc/bash_completion        2005-12-11 12:44:29.000000000 +0100
@@ -2397,9 +2397,9 @@
 
        if [ [EMAIL PROTECTED] -gt 0 ]; then
            # expand path (if present) to global known hosts file
-           global_kh=$( eval echo $( sed -ne 
's/^[Gg][Ll][Oo][Bb][Aa][Ll][Kk][Nn][Oo][Ww][Nn][Hh][Oo][Ss][Tt][Ss][Ff][Ii][Ll][Ee]['$'\t
 '']*\(.*\)$/\1/p' [EMAIL PROTECTED] ) )
+           global_kh=$( eval echo $( sed -ne 
"s/^[Gg][Ll][Oo][Bb][Aa][Ll][Kk][Nn][Oo][Ww][Nn][Hh][Oo][Ss][Tt][Ss][Ff][Ii][Ll][Ee]['$'\t
 '']*\(.*\)$/\1/p" [EMAIL PROTECTED] ) )
            # expand path (if present) to user known hosts file
-           user_kh=$( eval echo $( sed -ne 
's/^[Uu][Ss][Ee][Rr][Kk][Nn][Oo][Ww][Nn][Hh][Oo][Ss][Tt][Ss][Ff][Ii][Ll][Ee]['$'\t
 '']*\(.*\)$/\1/p' [EMAIL PROTECTED] ) )
+           user_kh=$( eval echo $( sed -ne 
"s/^[Uu][Ss][Ee][Rr][Kk][Nn][Oo][Ww][Nn][Hh][Oo][Ss][Tt][Ss][Ff][Ii][Ll][Ee]['$'\t
 '']*\(.*\)$/\1/p" [EMAIL PROTECTED] ) )
        fi
 
        # choose which global known hosts file to use
@@ -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
--->8---

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.3
Locale: LANG=es_ES.ISO-8859-15, LC_CTYPE=es_ES.ISO-8859-15 
(charmap=ISO-8859-15) (ignored: LC_ALL set to [EMAIL PROTECTED])

Versions of packages bash depends on:
ii  base-files                    3.1.9      Debian base system miscellaneous f
ii  debianutils                   2.15.1     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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to