标签:
cat oui.txt|sed -e :a -e ‘$!N;s/\n\s/=/;ta‘ -e ‘P;D‘ | sed ‘s/(hex)\+/=/g‘ | awk -F ‘=‘ ‘{print $3 $2 $NF}‘ | sed ‘s/\s\+/ /g‘ | sort > allmac.txt;
cat allmac.txt | grep -i ‘huawei‘ > huawei.txt
标签:
原文地址:http://www.cnblogs.com/x113/p/4256537.html