Last active
February 20, 2021 17:00
-
-
Save iilei/df6fcd806f4ca2dab2f9b85764e284d3 to your computer and use it in GitHub Desktop.
Generate Distinguishable Random Tokens
This file contains hidden or 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=0;i<20;i++)); do uuidgen; done | \ | |
tr -dc 'AC-HJ-NP-RTZ2-46-79' | \ | |
fold -w 10 | \ | |
head -n 20 | \ | |
sed 's/^\(.\{4\}\)/\1-/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example output: