From owner-freebsd-current Tue Jan 25 20:19: 5 2000 Delivered-To: freebsd-current@freebsd.org Received: from iclub.nsu.ru (iclub.nsu.ru [193.124.222.66]) by hub.freebsd.org (Postfix) with ESMTP id 1866A14C3E for ; Tue, 25 Jan 2000 20:17:39 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from localhost (fjoe@localhost) by iclub.nsu.ru (8.9.3/8.9.3) with ESMTP id KAA66799 for ; Wed, 26 Jan 2000 10:17:06 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Date: Wed, 26 Jan 2000 10:17:05 +0600 (NS) From: Max Khon To: current@freebsd.org Subject: Re: grep --binary-files=without-match (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, there! can we merge this when it's ready before freeze? ---------- Forwarded message ---------- Date: Tue, 25 Jan 100 22:47:26 -0500 (EST) From: Alain Magloire To: Paul Eggert Cc: fjoe@iclub.nsu.ru, ru@FreeBSD.org Subject: Re: grep --binary-files=without-match Bonjour > Date: Tue, 25 Jan 2000 10:18:30 +0600 (NS) > From: Max Khon > > Sometimes I need to find all files that > contain something. Sometimes I need only text files > (e.g: vi `grep -rl xxx .` -- no binary files are desired). > > Thanks; that explains why you need a short-option equivalent to > --binary-files=without-match. Here is a proposed patch to implement > this, plus it fixes a couple of minor manual bugs I found while > documenting this. It assumes all the previous patches that I've sent > to the grep maintainer. > > 2000-01-25 Paul Eggert > > * NEWS, doc/grep.1, doc/grep.texi: Add -I option. > * src/grep.c (short_options, usage, main): Likewise. > > * doc/grep.texi: Fix some incorrect references to ASCII. Patch applied. Ruslan, there will be a beta on alpha, this weekend, grep-2.4d, I will notify you since FreeBSD'ers are the one pushing hard for the --binary-files options. -- alain To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message