Christopher Faylor wrote: > I don't think either of those meets the letter of the original request. > > If you only want the files in the current directory then something like: > > ls -d *.f | grep -v '^_' | xargs grep EXPRESSION > > should work better. > > Or if you use zsh you can just do: > > grep EXPRESSION *.f~_*
or: find . -type f -name \*.f -maxdepth 1 \! -name \*_\* |xargs grep EXPR -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/