0
I would like some help with GNU Parallel.
Is it possible to read variables from a file and pass these variables into a bash script via Parallel?
For example:
I have a file called dados.txt
containing:
maça vermelha
banana amarela
uva verde
And a script lista.sh
that needs to read each of these lines as 2 variables: $fruta
and $cor
The script would be something like this:
echo Fruta: $fruta
echo Cor: $cor
Thank you