From owner-freebsd-questions Mon Aug 5 22:09:25 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA24991 for questions-outgoing; Mon, 5 Aug 1996 22:09:25 -0700 (PDT) Received: from hod.tera.com (hod.tera.com [206.215.142.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA24964 for ; Mon, 5 Aug 1996 22:09:22 -0700 (PDT) Received: from athena.tera.com (athena.tera.com [206.215.142.62]) by hod.tera.com (8.7.5/8.7.3) with ESMTP id WAA25035 for ; Mon, 5 Aug 1996 22:08:48 -0700 (PDT) From: Gary Kline Received: (from kline@localhost) by athena.tera.com (8.7.5/8.7.3) id WAA09593 for questions@FreeBSD.org; Mon, 5 Aug 1996 22:08:47 -0700 (PDT) Message-Id: <199608060508.WAA09593@athena.tera.com> Subject: ``tgrep'' from Unix Power Tools To: questions@FreeBSD.org Date: Mon, 5 Aug 1996 22:08:47 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Has anyone used the short `tgrep' perl script from the UNIX POWER TOOLS book? It works on my Sun and fails with a strange error blurb on my FreeBSD machine. tgrep grep only text file, skipping directories and binaries. I asked Jerry Peek at ORA and he had no idea what was causing the trouble. tgrep runs on perl 4.0, pl36 which is what I've got. thanks in advance, gary PS: I'm very new to perl! Shouldn't make any diff. <><> While money doesn't buy love, it puts you in a great bargaining position.