While in a Linux shell I have a string which has the following contents:
cat dog bird
and I want to pass each item as an argument to another fu
Use read with a while loop:
read
while read line; do echo $line; done