#!/bin/bash

arg1=$(echo "software libre es una forma de vida." | apertium es-pt)
res=""
for word in $arg1
do
	if [ -z "$res" ]
	then
		res=$word
	else
		res=$res" $word"
	fi
done
echo $res
if test "$res" = "software livre é uma forma de vida."
then
    echo "Test 1 passed! ..."
else
    echo "$res is not equal to todos nascem livres!"
    exit 1
fi
