[Bash-completion-commits] ./current r1257: Allow for comments in known_hosts files (Closes: #511789)
David Paleino
d.paleino at gmail.com
Fri Jan 16 22:05:07 UTC 2009
------------------------------------------------------------
revno: 1257
committer: David Paleino <d.paleino at gmail.com>
branch nick: current
timestamp: Fri 2009-01-16 23:05:07 +0100
message:
Allow for comments in known_hosts files (Closes: #511789)
modified:
bash_completion
debian/changelog
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion 2009-01-16 20:22:26 +0000
+++ b/bash_completion 2009-01-16 22:05:07 +0000
@@ -2630,7 +2630,7 @@
# FS needs to look for a comma separated list
COMPREPLY=( $( awk 'BEGIN {FS=","}
- /^[^|]/ {for (i=1; i<=2; ++i) { \
+ /^\s*[^|\#]/ {for (i=1; i<=2; ++i) { \
gsub(" .*$", "", $i); \
if ($i ~ /'$cur'/) {print $i} \
}}' "${kh[@]}" 2>/dev/null ) )
=== modified file 'debian/changelog'
--- a/debian/changelog 2009-01-16 20:45:43 +0000
+++ b/debian/changelog 2009-01-16 22:05:07 +0000
@@ -40,6 +40,7 @@
(Closes: #504650)
* Allow `Host(Name)' in ssh config file to be indented
* Allow `Host(Name)' in ssh config file to have trailing comment.
+ * Allow for comments in known_hosts files (Closes: #511789)
* Fixed perl -I/-x completion, thanks to Freddy Vulto
(Closes: #504547)
* README updated: explain how to use bash-completion correctly.
@@ -93,7 +94,7 @@
* Add .mkv, .mp2 and .vdr to *xine completion (RHBZ: #444467).
* Add --rsyncable to gzip completion.
- -- David Paleino <d.paleino at gmail.com> Fri, 16 Jan 2009 21:21:06 +0100
+ -- David Paleino <d.paleino at gmail.com> Fri, 16 Jan 2009 23:03:01 +0100
bash-completion (20080705) unstable; urgency=low
More information about the Bash-completion-commits
mailing list