[PLUG] Recursive grep

Paul Heinlein heinlein at attbi.com
Mon Sep 23 20:45:44 UTC 2002


On Mon, 23 Sep 2002 lemming at attbi.com wrote:

> Or you could do:
> 
> grep -r --include='*.c' "find.this.string"

Ooh, neat. The --include option is something new in GNU grep 2.5.x
that wasn't there in 2.4.x (along with the corresponding --exclude
option). Thanks!

--Paul Heinlein <heinlein at attbi.com>





More information about the PLUG mailing list