[Bash-completion-devel] Bug#704832: [patch] (was: Bug#704832: locale aware ifconfig breaks completion)

2013-04-06 Thread Thilo Six
Hello Ville Excerpt from Ville Skyttä: On 2013-04-06 17:16, Thilo Six wrote: _mac_addresses() suffer from not taking care of locale awareness of ifconfig Fixed upstream: http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commitdiff;h=a9db458 As a measure of

[Bash-completion-devel] Bug#704832: [patch]

2013-04-06 Thread Ville Skyttä
On 2013-04-06 22:19, Thilo Six wrote: $ LC_ALL=C ifconfig -a | sed -ne s/.*[[:space:]]HWaddr[[:space:]]\{1,\}\($re\)[[:space:]]*$/\1/p This one should work for you (if I guess your ifconfig -a output format correctly) -- did you remember to define $re when testing it?