Package: bash
Version: 3.1-1
Severity: normal

another bash completion problem: occurring when ssh <tab> or scp <tab>:


as a fix it was sufficient to modify all lines where sed appears in 
_known_hosts() to this:
        

# 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] ) )
# 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] ) )


hosts=$( compgen -W "$( sed -ne 's/^[Hh][Oo][Ss][Tt]["$"\t 
''"]*\([^*?]*\)$/\1/p' [EMAIL PROTECTED] )" -- $ocur ) 

-- System Information:
Debian Release: testing/unstable
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-sonne
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

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


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

Reply via email to