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

Thilo Six T.Six at gmx.de
Sat Apr 6 21:02:49 UTC 2013


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 I guess your ifconfig -a output format
> correctly) -- did you remember to define $re when testing it?
> 
> re='\([A-Fa-f0-9]\{2\}:\)\{5\}[A-Fa-f0-9]\{2\}'

This works. Sorry for the confusion.

I will mark the bug report as fixed. Tanks again!

-- 
Regards,
Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F



More information about the Bash-completion-devel mailing list