From owner-freebsd-questions Tue Aug 6 11:20:53 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA06624 for questions-outgoing; Tue, 6 Aug 1996 11:20:53 -0700 (PDT) Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA06619 for ; Tue, 6 Aug 1996 11:20:51 -0700 (PDT) Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net id aa05550; 6 Aug 96 18:20 GMT Received: from jraynard.demon.co.uk ([158.152.42.77]) by relay-3.mail.demon.net id aa11958; 6 Aug 96 19:11 +0100 Received: (from fqueries@localhost) by jraynard.demon.co.uk (8.7.5/8.6.12) id KAA01581; Tue, 6 Aug 1996 10:14:13 GMT From: James Raynard Message-Id: <199608061014.KAA01581@jraynard.demon.co.uk> Subject: Re: ``tgrep'' from Unix Power Tools To: Gary Kline Date: Tue, 6 Aug 1996 10:14:13 +0000 () Cc: questions@freebsd.org In-Reply-To: <199608060508.WAA09593@athena.tera.com> from "Gary Kline" at Aug 5, 96 10:08:47 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text 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. If it's the same tgrep as the one in the "Camel book", I'm sure it ought to work. Could you post a copy of it and tell us what the exact error message is?