> find . -name \*.cc -exec echo '{}' ';' -exec grep getenv '{}' ';' Or... find . -name \*.cc -print | xargs grep getenv this way you wouldn't execute echo + grep for each file; instead you'd execute grep over a bunch of files. Just my $ 0.02 ;) Best, Andre -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple