Last active
October 18, 2017 07:01
-
-
Save efmeeks/3bdb376de9767d4f80b06172dc3fff26 to your computer and use it in GitHub Desktop.
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 | |
# Hipster LolCow | |
[ -z "$(type lolcat)" ] && exit | |
[ -z "$(type cowsay)" ] && exit | |
echo "$(curl -Ls "https://hipsum.co/api/?paras=1&type=hipster-centric&html=false")" | \ | |
tr -d ']["' | \ | |
fold -s | \ | |
head -1 | \ | |
cowsay -e oO -T 'U ' | \ | |
lolcat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment