Skip site navigation (1)Skip section navigation (2)
Date:      20 Feb 2002 13:42:15 -0800
From:      swear@blarg.net (Gary W. Swearingen)
To:        "Mike Meyer" <mwm-dated-1014670209.5327fb@mired.org>
Cc:        "F.Xavier Noria" <fxn@isoco.com>, questions@FreeBSD.ORG, rene@xs4all.nl
Subject:   Re: how to search IN a bunch of files?
Message-ID:  <8rit8rbzk8.t8r@localhost.localdomain>
In-Reply-To: <15476.3072.832733.781406@guru.mired.org>
References:  <15476.3072.832733.781406@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Mike Meyer" <mwm-dated-1014670209.5327fb@mired.org> writes:

> Might I suggest a minor tweak to this? Use "xargs grep -H pattern", so
> that in the unlikely case that you only have one file, you still get
> the file name printed.

Spoilsport!  Now I can never again show off my cleverness by suggesting
"xargs grep pattern /dev/null" to do that.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8rit8rbzk8.t8r>