Date: Fri, 24 Sep 2004 07:28:34 +0200 From: Oliver Lehmann <lehmann@ans-netz.de> To: Juha Saarinen <juhasaarinen@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: Could ARG_MAX be increased? Message-ID: <20040924072834.06395511.lehmann@ans-netz.de> In-Reply-To: <b34be84204092312336001936a@mail.gmail.com> References: <b34be84204092304456066b0a0@mail.gmail.com> <009301c4a173$d468de90$7890a8c0@gits.invalid> <b34be84204092312336001936a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@kartoffel olivleh1> grep -H 1 lala lala:1 -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040924072834.06395511.lehmann>