Skip to content

Instantly share code, notes, and snippets.

@nefo-mi
Created April 16, 2010 08:50
Show Gist options
  • Save nefo-mi/368182 to your computer and use it in GitHub Desktop.
Save nefo-mi/368182 to your computer and use it in GitHub Desktop.
#!/bin/sh
curl -s "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=$1&langpair=en%7Cja" |sed -e 's/^.*translatedText":"//'|sed -e 's/\".*/\n/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment