------------------------------------------------------------
revno: 1201
committer: David Paleino <[EMAIL PROTECTED]>
branch nick: current
timestamp: Sat 2008-11-01 12:32:22 +0100
message:
  Allow `Host(Name)' in ssh config file to have trailing comment.
modified:
  bash_completion
  debian/changelog
=== modified file 'bash_completion'
--- a/bash_completion   2008-11-01 11:29:33 +0000
+++ b/bash_completion   2008-11-01 11:32:22 +0000
@@ -2637,7 +2637,7 @@
            fi
            # append any available aliases from config files
            if [ [EMAIL PROTECTED] -gt 0 ] && [ -n "$aliases" ]; then
-           local host_aliases=$( sed -ne 's/^[ 
\t]*[Hh][Oo][Ss][Tt]\([Nn][Aa][Mm][Ee]\)\?['"$'\t '"']\+\([^*?]*\)$/\2/p' 
"[EMAIL PROTECTED]" )
+           local host_aliases=$( sed -ne 's/^[ 
\t]*[Hh][Oo][Ss][Tt]\([Nn][Aa][Mm][Ee]\)\?['"$'\t 
'"']\+\([^#*?]*\)\(#.*\)\?$/\2/p' "[EMAIL PROTECTED]" )
            hosts=$( compgen -W "$host_aliases" -- $ocur )
                COMPREPLY=( "[EMAIL PROTECTED]" $hosts )
            fi

=== modified file 'debian/changelog'
--- a/debian/changelog  2008-11-01 11:29:33 +0000
+++ b/debian/changelog  2008-11-01 11:32:22 +0000
@@ -35,9 +35,10 @@
   * Added support for `-F configfile' to _known_hosts(), ssh, scp and 
     sftp, thanks to Freddy Vulto (Closes: #504141)
   * Allow `Host(Name)' in ssh config file to be indented
+  * Allow `Host(Name)' in ssh config file to have trailing comment.
   * debian/links fixed (Closes: #494292)
 
- -- David Paleino <[EMAIL PROTECTED]>  Sat, 01 Nov 2008 12:29:14 +0100
+ -- David Paleino <[EMAIL PROTECTED]>  Sat, 01 Nov 2008 12:31:56 +0100
 
 bash-completion (20080705) unstable; urgency=low
 

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to