On Fri, Jul 3, 2009 at 3:11 PM, Trent W. Buck<trentb...@gmail.com> wrote: > you can have multiple patterns > > Host foo.example.net bar.example.net > Port 443 > > AFAICT bash-completion only "sees" the first one. I'd like it to > complete all of them. Bonus points will be awarded if you can work > out an intelligent way to handle globbing patterns, e.g. > > Host *.example.net *.example.com > Port 443
Fixed in git commit 3fe193f81a3e. I'll leave the bonus points for now... Within _known_hosts_real, IFS was set to just newline (\n), whereas `compgen -W' relies on IFS being space-tab-newline ( \t\n) to expand hostnames which are separated by whitespace. Thanks for reporting, Freddy Vulto http://fvue.nl _______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel