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

2013-04-06 Thread Thilo Six
resending here to keep the log complete. I mark this bug as fixed now! -- Hello Ville, Excerpt from Ville Skyttä: >> $ LC_ALL=C ifconfig -a | sed -ne >> "s/.*[[:space:]]HWaddr[[:space:]]\{1,\}\($re\)[[:space:]]*$/\1/p" > > This one should work for you (if

[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? re='\([A-Fa-f0-9]\{2\

[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

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

2013-04-06 Thread Thilo Six
Package: bash-completion Version: 1:2.0-1 Severity: normal Dear Maintainer, _mac_addresses() suffer from not taking care of locale awareness of ifconfig thus breaking completion for users with non english locale settings. line 824 needs to be changed: 824 - COMPREPLY+=( $( ifconfig -a 2>/dev