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 sh -c 'for F in "${@}"; do ...; done' "${0}"