Created
September 16, 2020 07:42
-
-
Save evmn/91ccf7cafb6f961ae9f063578dbbe476 to your computer and use it in GitHub Desktop.
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
for i in {1..10} | |
do | |
cat /dev/urandom | \ | |
tr -dc "a-f0-9"| \ | |
fold -w 36 | \ | |
head -n 1 | \ | |
sed -E -e 's/(.{8}).(.{4}).(.{4}).(.{4}).(.*)/\1-\2-\3-\4-\5/' | \ | |
sed -E -e 's/(.{14}).(.*)/\14\2/' | \ | |
sed -E -e "s/(.{19}).(.*)/\1$(shuf -n 1 -e 8 9 a b)\2/" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment