From owner-freebsd-questions@FreeBSD.ORG Mon Apr 5 05:42:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57DFD106564A; Mon, 5 Apr 2010 05:42:34 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id EC30D8FC14; Mon, 5 Apr 2010 05:42:33 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o355gSUM083243; Sun, 4 Apr 2010 22:42:29 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 4 Apr 2010 22:42:29 -0700 (PDT) Date: Sun, 4 Apr 2010 22:42:28 -0700 From: Gary Kline To: Robert Bonomi Message-ID: <20100405054228.GA1800@thought.org> References: <201004050114.o351ELJx016272@mail.r-bonomi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201004050114.o351ELJx016272@mail.r-bonomi.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-2.9 required=3.6 tests=ALL_TRUSTED,BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on ethic.thought.org Cc: glarkin@freebsd.org, freebsd-questions@freebsd.org, merlyn@stonehenge.com Subject: Re: perl qstn... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2010 05:42:34 -0000 On Sun, Apr 04, 2010 at 08:14:21PM -0500, Robert Bonomi wrote: > > From owner-freebsd-questions@freebsd.org Sun Apr 4 17:14:17 2010 > > Date: Sun, 4 Apr 2010 15:13:49 -0700 > > From: Gary Kline > > To: "Randal L. Schwartz" , glarkin@freebsd.org, > > FreeBSD Mailing List > > Cc: > > Subject: Re: perl qstn... > > > > On Sun, Apr 04, 2010 at 10:58:35AM -1000, parv@pair.com wrote: > > > in message <20100404203951.GB47459@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 [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@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