SyntaxFix
Write A Post
Hire A Developer
Questions
You could also try,
OIFS=$IFS; IFS="\t"; animals=`cat animals.txt` animalArray=$animals; for animal in $animalArray do echo $animal done IFS=$OIFS;