On Sat, Sep 13, 2014 at 12:25:28PM +0000, Edward Ned Harvey (lopser) wrote:
> Can anybody explain this behavior to me?
> 
> I'm searching for files that contain the string "LockFile" in them.  I know 
> of one place where it exists already...  But the following command only 
> returns one result, which is not the result I already knew existed.
> 
> Edwards-MacBook-Pro:mono eharvey$ find . -name '*.cs' -or -name '*.c' -or 
> -name '*.h' -exec grep -l LockFile {} \;
> ./mono/io-layer/io.h

$ grep -rl --include "*.h" --include "*.cs" --include "*.c" LockFile .

should do that for you.

-dsr-
_______________________________________________
Tech mailing list
Tech@lists.lopsa.org
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to