( Nyosigomboc | 2017. 07. 15., szo – 16:47 )

grep "'status': 'OK'"|sed -e "s/^.*'mac_address': '\([0-9a-fA-F:]*\)'.*$/\1/"
vagy csak sed-et hasznalva:
sed -n -e "/'status': 'OK'/ p"|sed -e "s/^.*'mac_address': '\([0-9a-fA-F:]*\)'.*$/\1/"

--
A strange game. The only winning move is not to play. How about a nice game of chess? - Wargames