Created
August 13, 2012 14:06
-
-
Save charud/3341070 to your computer and use it in GitHub Desktop.
Lunarize a string from shell
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/sh | |
# | |
# Lunarizer | |
# ========= | |
# | |
# Installation | |
# ------------ | |
# $ curl https://raw.github.com/gist/3341070/44869be7b0b7b7403465a78cde1ec3e3ce6e2788/Lunarizer > lunar; chmod +x lunar | |
# $ sudo cp lunar /usr/local/bin/lunar | |
# | |
# Usage | |
# ----- | |
# $ lunar Mer lunar! | |
# aZZå Mer LUnar!!! *kjamar*% | |
# | |
if [ $# -lt 1 ]; then | |
echo "Missing text to lunarize"; | |
echo "Usage: lunar {text}"; | |
exit 2; | |
fi | |
curl -d "lunartext=$*&ajax=1" http://tapiren.se/lunarizer/ | |
echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated with pull request from https://gist.github.com/3341140
Thanks Julian