SOURCES: bash-completion-known_hosts.patch (NEW) - fix for "sed: -...
adamg
adamg at pld-linux.org
Tue Jan 3 19:47:48 CET 2006
Author: adamg Date: Tue Jan 3 18:47:48 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix for "sed: -e expression #1, char 20: unterminated `s' command" error
occuring when trying to complete host while using ssh or scp
- patch by Maciej Mitura (emkwadrat (at) poczta.onet.pl)
- release 2
---- Files affected:
SOURCES:
bash-completion-known_hosts.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/bash-completion-known_hosts.patch
diff -u /dev/null SOURCES/bash-completion-known_hosts.patch:1.1
--- /dev/null Tue Jan 3 19:47:48 2006
+++ SOURCES/bash-completion-known_hosts.patch Tue Jan 3 19:47:43 2006
@@ -0,0 +1,11 @@
+--- bash_completion/bash_completion 2006-01-03 19:06:36.000000000 +0100
++++ bash_completion/bash_completion-mitek 2006-01-03 19:09:29.000000000 +0100
+@@ -2479,7 +2479,7 @@
+ fi
+ # append any available aliases from config files
+ if [ ${#config[@]} -gt 0 ] && [ -n "$aliases" ]; then
+- hosts=$( compgen -W "$( sed -ne "s/^[Hh][Oo][Ss][Tt]["$'\t '"]*\([^*?]*\)$/\1/p" ${config[@]} )" -- $ocur )
++ hosts=$( compgen -W $( sed -ne "s/^[Hh][Oo][Ss][Tt]["$'\t '"]*\([^*?]*\)$/\1/p" ${config[@]} ) -- $ocur )
+ COMPREPLY=( ${COMPREPLY[@]} $hosts )
+ fi
+
================================================================
More information about the pld-cvs-commit
mailing list