I would like to read a file into a script, line by line. Each line in the file is multiple values separated by a tab, I\'d like to read each line into an array.
Typ
You could also try,
OIFS=$IFS; IFS="\t"; animals=`cat animals.txt` animalArray=$animals; for animal in $animalArray do echo $animal done IFS=$OIFS;