grep -r *.java doesn't work as expected

Randall R Schulz rrschulz@cris.com
Sun Jan 19 19:35:00 GMT 2003


Hi, Max,

At 08:34 2003-01-19, Max Bowsher wrote:
>Randall R Schulz wrote:
> > Grep _will_ search in files found throughout a directory hierarchy,
> > but that's not it's default mode of operation. Look into the "-R" /
> > "-r" / "--recursive" option and the associated "--include" and
> > "--exclude" options.
>
>I didn't know about --include/--exclude - much simpler than find and xargs!
>Thanks!
>
> > Also, I don't know what you intend by your use of "-m"
>
>That would be "-rn", as in the contraction of "-r -n" :-)

Indeed! I really wish my good monitor hadn't broken (when I myself am broke).


>Max Bowsher.


Randall Schulz 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list