SyntaxFix
Write A Post
Hire A Developer
Questions
One more simple variant -
$ while read line do set $line # assigns words in line to positional parameters echo "$3 $5" done < file