Translate several words from a file in parallel Sep 6, 2016 • SAWP #!/bin/sh function translate_line() { l=$(echo $1 | awk '{print tolower($0)}'); echo -n "${l}:"; echo `trans -no-auto -brief :en $l`; } export -f translate_line parallel --will-cite -k translate_line ::: `cat Lista-de-Palavras.txt`