a question about GREP

Shawn K. O'Shea shawn at eth0.net
Fri Mar 23 15:58:57 EDT 2007


because my usage/understanding of --include option is wrong.
>
> grep -Hwli -r --include=out "zip" *  > zip.txt
>
> grep -Hwli --include=out "zip" * > zip.txt
>

It seems to be more of a glob pattern. I played around a little on one
of my boxes and I believe something more like
--include=*out*
for the include option will work.

-Shawn


More information about the gnhlug-discuss mailing list