From owner-freebsd-current Tue Dec 7 7:13:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 97A1214CAE for ; Tue, 7 Dec 1999 07:13:24 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (root@d60-025.leach.ucdavis.edu [169.237.60.25]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id HAA38328; Tue, 7 Dec 1999 07:13:23 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id HAA59099; Tue, 7 Dec 1999 07:13:23 -0800 (PST) (envelope-from obrien) Date: Tue, 7 Dec 1999 07:13:23 -0800 From: "David O'Brien" To: Max Khon Cc: current@freebsd.org Subject: Re: grep -a (-stable) Message-ID: <19991207071323.A59056@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from fjoe@iclub.nsu.ru on Tue, Dec 07, 1999 at 06:42:56PM +0600 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Dec 07, 1999 at 06:42:56PM +0600, Max Khon wrote: > it is not possible to make short equivalent for old grep -a option > (as in grep 2.3 -a is used for other purposes). > it is possible to make a long option (--skip-binary) but long options > are quite unusable. GREP_OPTIONS cannot help much > (I want an equiv. for old 'grep -aRl pattern .') > any thoughts? Talk to the GNU Grep maintainers. I told them such an option was needed in GNU Grep and they said people *liked* the behavior of printing out a match in binary files. I was especially saying with "-l" this behavior us useless. Email them at Paul Eggert and Alain Magloire . See the archives of this list from 11/11/1999 - 11/12/1999 where this was discussed. Are you new to -CURRENT, or were you just not reading this list as you are suppose to? -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message