[EMAIL PROTECTED] said:
> >> find . -type f -print | xargs grep <pattern> /dev/null
>
> I don't get it. I doubt it hurts, but why the /dev/null?
To prevent grep from reading stdin (and just sitting there) if <pattern> is
empty.
Jeff
_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk
- [techtalk] Limits of grep? Subba Rao
- Re: [techtalk] Limits of grep? Marie Fischer
- Re: [techtalk] Limits of grep? Julie
- Re: [techtalk] Limits of grep? Lotta Loytonen
- Re: [techtalk] Limits of grep? Julie
- Re: [techtalk] Limits of grep? Lotta Loytonen
- Re: [techtalk] Limits of grep? Andrew Wendt
- Re: [techtalk] Limits of grep? Julie
- Re: [techtalk] Limits of grep? Jeff Dike
- Re: [techtalk] Limits of grep? Subba Rao
