Skip to content

Instantly share code, notes, and snippets.

@AJ-Acevedo

AJ-Acevedo/MAC2MAC

Last active Aug 29, 2015
Embed
What would you like to do?
Convert a Cisco MAC address to a properly formatted MAC address
cat MAC.csv | sed -e 's/[0-9a-fA-F]\{2\}/&:/g;s/.$//' >> REAL-MAC.csv
@AJ-Acevedo

This comment has been minimized.

Copy link
Owner Author

@AJ-Acevedo AJ-Acevedo commented Mar 31, 2015

@tigfox You're a genius!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.