[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.90-87-g723b077

Ville Skyttä ville.skytta at iki.fi
Sun Dec 11 20:34:12 UTC 2011


The following commit has been merged in the master branch:
commit 723b0771ad200ef8f22e1d3fcd3ae5d392a69a27
Author: Raphaël Droz <raphael.droz+floss at gmail.com>
Date:   Sun Dec 11 22:26:52 2011 +0200

    _ip_addresses: Make it locale agnostic.

diff --git a/bash_completion b/bash_completion
index 835146f..0eecb15 100644
--- a/bash_completion
+++ b/bash_completion
@@ -862,7 +862,7 @@ _configured_interfaces()
 _ip_addresses()
 {
     COMPREPLY+=( $( compgen -W \
-        "$( PATH="$PATH:/sbin" ifconfig -a |
+        "$( PATH="$PATH:/sbin" LC_ALL=C ifconfig -a |
             sed -ne 's/.*addr:\([^[:space:]]*\).*/\1/p' \
                 -ne 's/.*inet[[:space:]]\{1,\}\([^[:space:]]*\).*/\1/p' )" \
         -- "$cur" ) )

-- 
bash-completion



More information about the Bash-completion-commits mailing list