Re: grabbing a hex data stream




atte wrote:
In the spirit of offering multiple solutions to simple problems, I'd
also suggest trying
regexp {eth0 .*HWaddr ([0-9A-F:]*)} [exec /sbin/ifconfig -a] - MAC

Sorry, should of course be
regexp {eth0 [^\n]*HWaddr ([0-9A-F:]*)} [exec /sbin/ifconfig -a] - MAC

.