Could ARG_MAX be increased?

Oliver Lehmann lehmann at
Thu Sep 23 22:28:41 PDT 2004

Juha Saarinen wrote:

> find . -type f -exec grep "something" {} /dev/null \;
> -- the /dev/null is, according to a friend, "to provide grep with more
> than one input file, so that includes the file name in any matches.
> Didn't use it before. Add -depth or -maxdepth according to how many
> directories you want to trawl through.

FreeBSD's grep knows -H:

olivleh1 at kartoffel olivleh1> grep -H 1 lala

 Oliver Lehmann

More information about the freebsd-current mailing list