I've made a script to grep a file for
strings that are taken from a filename.txt
for i in `cat filename.txt`
strings ./binfile | grep "$i" 2>&1 > /dev/null
this works fine as long as in filename.txt i don't have any entries with spaces. But in my case i want to grep something with spaces like "lala tata" and the above script greps for lala and then tata seperately.
When I use while read i have the same problem.
any ideas anyone??