X-Recipient: archive-cygwin@delorie.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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=BQVrvYmR4wmYCSu64d8/nuvP33mONzQ+nspayDxSsjc
	Ua4bgsQDZ1woRwSOpLJfJdWsjuGl4KvKSmMGH1goQdErqnE3aquP/6tGO35lavjw
	lW474w1h5A76fMU0NOBUIv6ypcbyjlODd1AxKqFgP8qgQvIAHs7qDGh8tfo0MsRM
	=
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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=zcNJNTgyZClCDKlZZTsGCutG3hE=; b=n3zB6g9aLtrti9Q1a
	qqDtH12WcGgDxf4uvqVySylUXCtZm2ZEBXg5pGbNddIWqmhzgdRtCLP3edf9TrEy
	cV9gJ9TW0oP+672RJ1rcRFJ9gQ3dJlAlsJwxgDPDVPyuKtVK03GutbP2OinE7o1k
	fky5E0tCvZk0bBkyF0NwNm2WNs=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:408, H*u:6.3, H*F:D*se
X-HELO: mail.lysator.liu.se
Message-ID: <56EFFFD2.7000302@lysator.liu.se>
Date: Mon, 21 Mar 2016 15:06:10 +0100
From: Peter Rosin <peda@lysator.liu.se>
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: BUG:  grep (GNU grep) 2.24
References: <70C6F637A7E2844391D854CF15BB7A8F5AAA58FF06@TUS1XCHEVSPIN42.SYMC.SYMANTEC.COM> <loom.20160321T145437-708@post.gmane.org>
In-Reply-To: <loom.20160321T145437-708@post.gmane.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

On 2016-03-21 14:56, Achim Gratz wrote:
> Gordon Grimes writes:
>> % wc -l FILE
>> 48786
>> % grep . FILE
>> 2240
>>
>> Very wrong. 
> 
> You're aware that "." doesn't match empty lines?

Agreed, that is relevant, but there's the difference between v2.21 and v2.24...

On a whim and given that we don't know what FILE is, I'd give this a go:

% LANG=C grep . FILE

Cheers,
Peter

--
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

