Bash – strings with multiple words inside them
Let’s assume we have a file containing lines such as this: first last one two three four five If we write a simple script to deal with each line in a turn, we would write something like this: for i in `cat file`; do echo $i; done This would echo, however, each word at its…