Skip to content

Instantly share code, notes, and snippets.

@AJ-Acevedo
Last active August 29, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AJ-Acevedo/847640f89da33b6d2bce to your computer and use it in GitHub Desktop.
Save AJ-Acevedo/847640f89da33b6d2bce to your computer and use it in GitHub Desktop.
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
Copy link
Author

@tigfox You're a genius!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment