T0RB1T icon

transseq

T0RB1T | PRO | 11/22/18 05:33:43 PM UTC | 0 ⭐ | 296 👁️ | Never ⏰ | []
Bash |

370 B

|

None

|

0 👍

/

0 👎

# Inputs ./transseq "Your string to translate" translator code_file (optional)
 
FILE=${3:-"codes"}
echo $1
new="$1"
for i in $(cat ./codes/$FILE)
do
  lang=$i
  temp=$(./trans :$lang -e $2 -brief "$new")
  new="$temp"
  # ./trans :en -e $2 -brief "$new"
  # eng=$(./trans :en -e $2 -brief "$new")
  # echo $lang $i #$eng $new
done
./trans :en -e $2 -brief "$new"

Comments