How do you get a for loop to cope with one of the items being an asterisk?
for myResult in `echo "*"`
do
echo "$myResult"
done
The asterisk is returning a file listing in the PWD.
The same result can be got from:
for myResult in "*"
do
echo "$myResult"
done
How to I combat this?
Cheers.