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
Workaround is to trim all text before the ">"
as is we get the following: "this.style. backgroundColor ='#ebeff9' " onmouseout= "this.style. backgroundColor ='#fff' ">Hello
echo "hola" | translate-bin -s google -f es -t en
" onmouseover=
use the following to get what you want:
$echo "hola" | translate-bin -s google -f es -t en | grep -oP ">$prefix\K.*"
Hello