commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Translate strings from non-german to german (and vice versa) using LEO. Put it in your ~/.bashrc.
To support languages other than english, change the lang variable:
lang=ch # chinese
lang=en # english
lang=es # spanish
lang=fr # french
lang=it # italian
lang=pl # polish
lang=pt # portuguese
lang=ru # russian
The other language will always be german!
Tries to avoid the fragile nature of scrapers by looking for user-input in the output as opposed to markup or headers on the web site.
required packages: curl, xml2, html2text
command is truncated, see 'sample output'