Skip to content

Instantly share code, notes, and snippets.

@xdbr
Created May 19, 2016 15:23
Show Gist options
  • Save xdbr/19ab5686fe9ee55ea1915160edecb778 to your computer and use it in GitHub Desktop.
Save xdbr/19ab5686fe9ee55ea1915160edecb778 to your computer and use it in GitHub Desktop.
language="${1-de}"
[[ "$language" == "de" ]] && curl -s http://sprichwortrekombinator.de/ | pup -p '.spwort text{}'
[[ "$language" == "en" ]] && curl -s http://proverb.gener.at/or/ | pup -p '.spwort text{}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment