Comment 3 for bug 1572955

Revision history for this message
Boyd (boyd-dyob) wrote :

Workaround is to trim all text before the ">"

as is we get the following:
 echo "hola" | translate-bin -s google -f es -t en
" onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">Hello

use the following to get what you want:
$echo "hola" | translate-bin -s google -f es -t en | grep -oP ">$prefix\K.*"
Hello