X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=jW g+A2GkfszOSZfim9LpLD6LhNCJBOvLT7k1G8DpIUX4GKWhJFlndRBwRBulAy5/uT G2+dGnOeowyPgnqBdvt63arjI+pWCVWxalCHQn4vU1Q+juX5fY1PqhwmRPQ0WGdN UHMjXGh0Oa8wYz1q+YsqtBoiiZi6zFRNByKbrjl/8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=5SzlmqNb FK6B9n+ITRtYMzfQlrc=; b=xJ4FQNHlmgPwRF8ZGh04mkTDExn5HGax+/B/dlI1 p0biuRNshd69wgPlMxPGZN16pQl31kZbpF9IxTazKXWYxLHrBzfLvTew3kCxHK7H VAh3Qmo/JH42Up22h6P0iwTdI4gnBCp+NeI4oB0iWNalJyaR28MFjl6EANDTfpjJ 4Jk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f180.google.com MIME-Version: 1.0 X-Received: by 10.107.129.230 with SMTP id l99mr17484637ioi.32.1437104688263; Thu, 16 Jul 2015 20:44:48 -0700 (PDT) In-Reply-To: <6138-1437098652-808922@sneakemail.com> References: <6138-1437098652-808922 AT sneakemail DOT com> Date: Thu, 16 Jul 2015 22:44:48 -0500 Message-ID: Subject: Re: --line-regexp option with null data From: Steven Penny To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes On Thu, Jul 16, 2015 at 9:04 PM, John Hein wrote: > cygwin grep is detecting the input as binary which seems to be > overriding the 'match the whole line' behavior of --line-regexp. Get > rid of --quiet to see that. It appears to be intended behavior starting with version 2.21: > If a file contains data improperly encoded for the current locale, > and this is discovered before any of the file's contents are output, > grep now treats the file as binary. http://savannah.gnu.org/forum/forum.php?forum_id=8152 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple