Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 1999 15:39:43 -0800 (PST)
From:      Paul Eggert <eggert@twinsun.com>
To:        obrien@freebsd.org
Cc:        alainm@rcsm.ece.mcgill.ca, tstromberg@rtci.com, freebsd-current@freebsd.org, bug-gnu-utils@gnu.org
Subject:   Re: Bad 'grep' behaviour in -CURRENT, faulty binary detection?
Message-ID:  <199911122339.PAA07222@shade.twinsun.com>
In-Reply-To: <19991112090823.B87828@dragon.nuxi.com> (obrien@freebsd.org)
References:  <19991111132031.A60417@dragon.nuxi.com> <199911120213.VAA06622@mccoy2.ECE.McGill.CA> <19991112090823.B87828@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
   Date: Fri, 12 Nov 1999 09:08:24 -0800
   From: "David O'Brien" <obrien@freebsd.org>

   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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911122339.PAA07222>