Hi, I have a function that operates on one file. Now I have a list of files, for instance from `find`, which I would all like to pass to this function one by one. In my naive attempt I did the following:
find Classes -name '*.m' -print0 | xargs -0 clean_file For which I get the error: “clean_file: No such file or directory”. (Same goes for using `find -exec`.) I’m sure I’m using incorrect syntax, I’ve also tried adding parentheses around the function name, but I’m just trying things by now. Can someone show the way? Cheers, Eloy ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users