From owner-freebsd-current Wed Jan 26 0:54:45 2000 Delivered-To: freebsd-current@freebsd.org Received: from relay.ucb.crimea.ua (UCB-Async4-CRISCO.CRIS.NET [212.110.129.130]) by hub.freebsd.org (Postfix) with ESMTP id 73D741540E; Wed, 26 Jan 2000 00:54:13 -0800 (PST) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id KAA65575; Wed, 26 Jan 2000 10:53:55 +0200 (EET) (envelope-from ru) Date: Wed, 26 Jan 2000 10:53:54 +0200 From: Ruslan Ermilov To: Jordan Hubbard Cc: Max Khon , current@FreeBSD.org Subject: Re: grep --binary-files=without-match (fwd) Message-ID: <20000126105354.C55257@relay.ucb.crimea.ua> Mail-Followup-To: Jordan Hubbard , Max Khon , current@FreeBSD.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Max Khon on Wed, Jan 26, 2000 at 10:17:05AM +0600 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jan 26, 2000 at 10:17:05AM +0600, Max Khon wrote: > hi, there! > > can we merge this when it's ready before freeze? > Of course, if Jordan approves. This will be a pretty small diff. Jordan? > ---------- 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 -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message