I have a string containing many words with at least one space between each two. How can I split the string into individual words so I can loop through them?
The stri
echo $WORDS | xargs -n1 echo
This outputs every word, you can process that list as you see fit afterwards.