From owner-freebsd-stable Mon Jan 3 2:53:32 2000 Delivered-To: freebsd-stable@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 D7B3614D61; Mon, 3 Jan 2000 02:53:24 -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 MAA01426; Mon, 3 Jan 2000 12:53:21 +0200 (EET) (envelope-from ru) Date: Mon, 3 Jan 2000 12:53:21 +0200 From: Ruslan Ermilov To: "David O'Brien" Cc: stable@FreeBSD.ORG Subject: Re: HEADS UP: GNU grep 2.3 is now in 3.4-STABLE Message-ID: <20000103125321.A99904@relay.ucb.crimea.ua> Mail-Followup-To: David O'Brien , stable@FreeBSD.ORG References: <20000102125211.A62593@relay.ucb.crimea.ua> <20000102185443.B24637@relay.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <20000102185443.B24637@relay.nuxi.com>; from David O'Brien on Sun, Jan 02, 2000 at 06:54:43PM -0800 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jan 02, 2000 at 06:54:43PM -0800, David O'Brien wrote: > On Sun, Jan 02, 2000 at 12:52:11PM +0200, Ruslan Ermilov wrote: > > Here is the list of changes made, that could cause a breakage: > > > > o The -a option behaves differently. Prior to that, it caused `grep' to > > skip searching in binary files. Now, without -a option, when searching > > a binary file FOO, `grep' just reports `Binary file FOO matches' instead > > of outputting binary data. This is typically more useful than the old > > behavior, and it is also more consistent with other GNU utilities like > > `diff'. A file is considered to be binary if it contains a NUL (i.e. > > zero) byte. The new -a or --text option causes `grep' to assume that > > all input is text. (This option has the same meaning as with `diff'). > > Use it if you want binary data in your output. > > The down side of this is if you used to use ``grep -al'' to only get a > list of text files with hits, you can not duplicate this behavior with > GNU grep 2.3. > But you can still skip directories from matching with --directories=skip (or `-d skip' in short form). -- 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-stable" in the body of the message