From owner-freebsd-current Fri Nov 12 15:40:10 1999 Delivered-To: freebsd-current@freebsd.org Received: from alcor.twinsun.com (alcor.twinsun.com [198.147.65.9]) by hub.freebsd.org (Postfix) with ESMTP id 3D7F014E63; Fri, 12 Nov 1999 15:40:05 -0800 (PST) (envelope-from eggert@twinsun.com) Received: from red.twinsun.com ([192.54.239.70]) by alcor.twinsun.com (8.9.3/8.9.3) with ESMTP id PAA13895; Fri, 12 Nov 1999 15:39:58 -0800 (PST) Received: from shade.twinsun.com (shade.twinsun.com [192.54.239.27]) by red.twinsun.com (8.8.8+Sun/8.8.8) with ESMTP id PAA00358; Fri, 12 Nov 1999 15:39:43 -0800 (PST) Received: (eggert@localhost) by shade.twinsun.com (8.9.3+Sun/8.9.3) id PAA07222; Fri, 12 Nov 1999 15:39:43 -0800 (PST) Date: Fri, 12 Nov 1999 15:39:43 -0800 (PST) From: Paul Eggert Message-Id: <199911122339.PAA07222@shade.twinsun.com> To: obrien@freebsd.org Cc: alainm@rcsm.ece.mcgill.ca, tstromberg@rtci.com, freebsd-current@freebsd.org, bug-gnu-utils@gnu.org In-reply-to: <19991112090823.B87828@dragon.nuxi.com> (obrien@freebsd.org) Subject: Re: Bad 'grep' behaviour in -CURRENT, faulty binary detection? References: <19991111132031.A60417@dragon.nuxi.com> <199911120213.VAA06622@mccoy2.ECE.McGill.CA> <19991112090823.B87828@dragon.nuxi.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Date: Fri, 12 Nov 1999 09:08:24 -0800 From: "David O'Brien" I want a silent ignore of binary files. It'd be reasonable to add an option to do this, after the feature freeze is over and 2.4 comes out. I think it should take an option to not ignore binary files. I disagree. If I type `grep pattern file' and get no output, then I should be able to conclude that there are no instances of `pattern' in `file'. But under your proposal, I wouldn't be able to conclude that: all I would know is that either the file contained no instances, or the file was binary. This is confusing and is less useful in practice than grep 2.3's behavior. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message