MAC address

When using arp(), MAC address is shown in lowercase, whereas nmap() shows it in uppercase, which makes comparisons difficult.

Is there a simple way to to do searches? Do I need to translate to the same case?
 
Some tools output it as aabb:ccdd:eeff instead of aa:bb:cc:dd:ee:ff too. But upper/lower case is easy to solve in scripts, tr(1).
 
Back
Top