Created
August 25, 2015 09:14
-
-
Save piotch/6018f64e1c83f35927e8 to your computer and use it in GitHub Desktop.
london is a $a machine, poor man twitter bot
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
a=`gsort -R /usr/share/dict/words | head -n1` | |
s="London is a $a machine." | |
echo | |
echo $s | |
echo | |
echo "Happy with this one ? [yn]" | |
read yn | |
case $yn in | |
y ) | |
t update "$s" ;; | |
n ) | |
echo "ok not doing anything" ;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment