cat MAC_Vendor_List | grep "(hex)" | sed 's/\//\\/g' |awk '{sub("-",":",$1);sub("-",":",$1); printf "s/"tolower($1)"/";for(i=3;i<NF;i++){printf $i" "}; printf "/g\n"}' > .macvendor2 tail -30000000 /var/log/dhcpd.log | grep -A1 -i 1:1c:3:2b:f2 | grep DHCPREQUEST | awk '{$6" "$8" "$10}'