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: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 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.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 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 AT cygwin DOT com Subject: Re: BUG: grep (GNU grep) 2.24 References: <70C6F637A7E2844391D854CF15BB7A8F5AAA58FF06 AT TUS1XCHEVSPIN42 DOT SYMC DOT SYMANTEC DOT COM> In-Reply-To: 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