SyntaxFix
Write A Post
Hire A Developer
Questions
I know the purists will hate this method, but you can cat the file.
cat
NAMES=`cat scripts/names.txt` #names from names.txt file for NAME in $NAMES; do echo "$NAME" done