Created
August 20, 2017 14:22
-
-
Save classmember/306351a09fa1b33b6a33a811470131b6 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# parse echo command using Perl with | |
# many calls to the "${RANDOM}" internal bash function | |
# redirect command to a bash session | |
bash<<<$( | |
perl -e ' | |
print "echo "; | |
print "\$\{RANDOM\}"'x40 | |
) | |
# example output: | |
# 1913125751134511502516993300443186813048251851193246283101528711149237831871130011961019790158752471616284165121788716080246479001240219575119553261592116383126012707185188358125851407021671 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment