Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3135283
By: keithmarshall

grep -r regex dir

If you want grep to recurse into a directory tree, tell it the top level 
directory
of the tree, (or subtree) you are interested in, rather than a file name
prototype.

If you want to restrict it to specific file name prototypes use:

find dir -iname 'fileproto' -exec grep regex {} \;

Can't comment on your piping problem -- I use MSYS grep, which doesn't have it.

HTH.

Keith.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=74807


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to