Created
August 9, 2016 06:15
-
-
Save badcommandorfilename/3906a779b463eb9026e50e687bf6fd54 to your computer and use it in GitHub Desktop.
Generate UUID with hyphens using sed and dbus-uuidgen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!#/bin/bash | |
dbus-uuidgen | sed 's/./-&/9;s/./-&/14;s/./-&/19;s/./-&/24' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment