I want to iterate over a list of files. This list is the result of a find command, so I came up with:
find
getlist() { for f in $(find . -iname \"f
find . -name "fo*" -print0 | xargs -0 ls -l
See man xargs.
man xargs