Created
July 23, 2014 16:38
-
-
Save tohn/f6ac528f2854b49b3f0b to your computer and use it in GitHub Desktop.
Gender Rolls
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
#!/bin/bash | |
# inspired by http://www.robot-hugs.com/gender-rolls/ | |
# required: roll (http://matteocorti.ch/software/roll.html) | |
# https://stackoverflow.com/questions/592620/how-to-check-if-a-program-exists-from-a-bash-script | |
command -v roll >/dev/null 2>&1 || { echo >&2 "I require roll but it's not installed. Aborting."; exit 1; } | |
# http://tldp.org/LDP/abs/html/arrays.html | |
# I use Art-Leather instead of Leather (the vegan version) ;) | |
eight=(Agender Genderqueer Trans Genderfluid Cis Non-binary Questioning Bigender) | |
ten=(Dapper Femmetype Twinky Sophisticate Androgenous Art-Leather Flexible Soft Queerdo Nonconforming) | |
twelve=(Princex Dragon Beefcake Shortcake Dudebro Gentleperson Cumberbatch Butch Bear Dandy Otter Queen) | |
echo "Hello, ${eight[$(roll 1d8)-1]} ${ten[$(roll 1d10)-1]} ${twelve[$(roll 1d12)-1]}! :)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment