Script started on Mon Sep 2 16:52:02 2013 [charly@freebsd:/home/charly]% bash -x Descargas/google-translate.sh + clear + OPTIONS='Input_Lang Output_Lang Enter_Text Translate Quit' + echo 'Press Enter at any time to return to menu.' Press Enter at any time to return to menu. + echo 'Select an option:' Select an option: + select opt in '$OPTIONS' 1) Input_Lang 2) Output_Lang 3) Enter_Text 4) Translate 5) Quit #? 1 + '[' Input_Lang = Quit ']' + '[' Input_Lang = Input_Lang ']' + echo 'Language options are:' Language options are: + echo 'en de fr es it' en de fr es it + echo 'What input language' What input language + read ILAN es #? 2 + '[' Output_Lang = Quit ']' + '[' Output_Lang = Input_Lang ']' + '[' Output_Lang = Output_Lang ']' + echo 'Language options are:' Language options are: + echo 'en de fr es it' en de fr es it + echo 'What ouput language' What ouput language + read OLAN en #? 3 + '[' Enter_Text = Quit ']' + '[' Enter_Text = Input_Lang ']' + '[' Enter_Text = Output_Lang ']' + '[' Enter_Text = Enter_Text ']' + echo 'Enter text' Enter text + read TEXT hola #? 4 + '[' Translate = Quit ']' + '[' Translate = Input_Lang ']' + '[' Translate = Output_Lang ']' + '[' Translate = Enter_Text ']' + '[' Translate = Translate ']' ++ curl -s -i --user-agent '' -d sl=es -d tl=en --data-urlencode text=hola http://translate.google.com + result='HTTP/1.1 200 OK Date: Mon, 02 Sep 2013 14:52:36 GMT Expires: Fri, 01 Jan 1990 00:00:00 GMT Cache-Control: no-cache, must-revalidate Pragma: no-cache X-Frame-Options: SAMEORIGIN Content-Type: text/html; charset=ISO-8859-1 Content-Language: en Set-Cookie: PREF=ID=91915581a17871f0:TM=1378133556:LM=1378133556:S=L8ZEIkxJ2Q4Nm6LS; expires=Wed, 02-Sep-2015 14:52:36 GMT; path=/; domain=.google.com Set-Cookie: NID=67=L0VN4MNjL7GJ0mo_6N9a60d1G0yKZT_Et4hfj2uyrJNg4GdmnHr13T24uRYyZ3kOzXbWeGXq5rGEFCiFy8g9JIYemWanKtGvyWtT7sZ8ZxGuE97Rk4zC77BHlRnYeNSR; expires=Tue, 04-Mar-2014 14:52:36 GMT; path=/; domain=.google.com; HttpOnly P3P: CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info." X-Content-Type-Options: nosniff Server: HTTP server (unknown) X-XSS-Protection: 1; mode=block Alternate-Protocol: 80:quic Transfer-Encoding: chunked Google Translate

Account Options

  1. Sign in
Translate
From: Spanish
To: English
Spanish
English
French
English
Spanish
Arabic
hello
Please help Google Translate improve quality for your language here.
Turn off instant translationAbout Google TranslateMobilePrivacyHelpSend feedback
' ++ awk '/Content-Type: .* charset=/ {sub(/^.*charset=["'\'']?/,""); sub(/[ "'\''].*$/,""); print}' + encoding=$'ISO-8859-1\r' + iconv -f $'ISO-8859-1\r' + awk 'BEGIN {RS=""};/]* id=["'\'']?result_box["'\'']?/' + html2text -utf8 iconv: conversion from ISO-8859-1 unsupported iconv: try 'iconv -l' to get the list of supported encodings #? 5 + '[' Quit = Quit ']' + clear + exit [charly@freebsd:/home/charly]% exit exit Script done on Mon Sep 2 16:52:41 2013