perl qstn...
Gary Kline
kline at thought.org
Mon Apr 5 05:42:34 UTC 2010
On Sun, Apr 04, 2010 at 08:14:21PM -0500, Robert Bonomi wrote:
> > From owner-freebsd-questions at freebsd.org Sun Apr 4 17:14:17 2010
> > Date: Sun, 4 Apr 2010 15:13:49 -0700
> > From: Gary Kline <kline at thought.org>
> > To: "Randal L. Schwartz" <merlyn at stonehenge.com>, glarkin at freebsd.org,
> > FreeBSD Mailing List <freebsd-questions at freebsd.org>
> > Cc:
> > Subject: Re: perl qstn...
> >
> > On Sun, Apr 04, 2010 at 10:58:35AM -1000, parv at pair.com wrote:
> > > in message <20100404203951.GB47459 at thought.org>,
> > > wrote Gary Kline thusly...
> > > >
> > > > ---Maybe you can clue me in on this one: around a dozen years ago
> > > > i somw found a recursive grep named tgrep online. to save tying,
> > > > i renamed it "rgr". i can start anywhere and 'rgr pattern'
> > > > --WITHOUT ANY ASTERISK-- will find any pattern and skip binary or
> > > > tarballs or compressed files. given this, rgr has become my
> > > > favorite utility, but since it doesn't have All of grep's
> > > > options, yes, it's tru e, there are times whrn i have to use the
> > > > real thing. i have searched for tgrep and cannot find a newer
> > > > more complete version. would you or anyone reading this know
> > > > where an upgraded version is?
> > > >
> > > > Here is the Usage string:
> > > >
> > > > p4 13:07 <tao> [5524] rgr
> > > > Usage: tgrep [-iredblLnf] regexp filepat ...
> > > > tgrep -h for help
[[ ... ]]
>
> Google to the rescue. Given the program name, and the author, one finds that
> this code was in "UNIX Power Tools" (O'Reilly * Assoc.)
>
right; i've got the power tools book front and center. it
must have come with tgrep on a floppy.
--
Gary Kline kline at thought.org http://www.thought.org Public Service Unix
http://jottings.thought.org http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php
More information about the freebsd-questions
mailing list