On Thu, Feb 21, 2008 at 06:15:32PM -0500, Nick Bender wrote:
> On Thu, Feb 21, 2008 at 5:08 PM, Jussi Peltola <[EMAIL PROTECTED]> wrote:
>
> > Displaying the name of the file and the matched line nicely like grep -r
> > does is not elegant with find + grep without using a script or a long
> > and inelegant alias - or if it is, I'd be interested in how it can be
> > done in case I need to work on some ancient unix.
>
> Never used -r so I'm not sure what the output looks like but how about:
>
> find . -type f -exec grep something {} /dev/null \;
Holy crap people, it was just an example. Believe it or not, I know
alternatives to recursive grep on Solaris.
-J.