I\'m trying to do something like the following:
for file in `find . *.foo` do somecommand $file done
But the command isn\'t working because
find . -name '*.foo' -print0 | xargs -0 -n 1 somecommand
It does get messy if you need to run a number of shell commands on each item, though.