Created
April 30, 2015 17:18
-
-
Save dp7k/c66b695b0c51bf36bf0e to your computer and use it in GitHub Desktop.
cli Lotto ("6aus49")/Eurojackpot lottery random number generator
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
| alias eurojackpot='echo $(shuf -i 1-50 -n 5|sort -n|tr "\n" " ") \| $(shuf -i 1-10 -n 2|sort -n|tr "\n" " ")' | |
| alias lotto='echo $(shuf -i 1-49 -n 6|sort -n|tr "\n" " ")' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment