Created
July 18, 2013 05:33
-
-
Save styxyang/6026911 to your computer and use it in GitHub Desktop.
I tried my best to use one-line perl script to reach this... But I actually want to achieve the effects in comments, though failed.
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
perl -e '@r = ("A".."Z", 0..9); foreach (1..shift) { print join "", @r[ map { rand @r } 1..16 ], "\n" }' -- 8 | |
# perl -e 'print join "", ("A".."Z")[ map { rand @("A".."Z") } 1..shift ], "\n"' -- 16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment