delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/08/16:53:37

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:from:to:date:subject:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=PmO
K0CaYKoJQXRIJmUL63JjDyR3T8agbZOrKQ6QsKEZXJ4PChZq5G5AHFbftZhC9I1t
BmLnhqrbghwxyD90zEVX33jPC7cc8i9h+RvrPGzwBLS6yNN+g7XwfkEH7pyNi1Ip
Su7UXuhXx0j+DiQxTgfDkkcmzX+3QaTW3JHO2Es4=
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:from:to:date:subject:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=hPHmoKeHZ
e8r/UsY5+jvwYp5zwk=; b=e+rcUzUSIHiewHE00unk+WgHMofqU2/LL4czxgVmw
cG78hfvJSeAyDxnBwVzqEeI21uK0NBfv09hyGOJwr8zULUEu41dpxrIXJO9D+mo0
iG+1wU4lreYQZFW7MxZV/xxQwYfWU1UvDBv3KgHiHtt4xjy+soNt06pbiE3ZORuH
Fw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.6 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*MI:COM, Hacceptlanguage:en-US, gordon, cull
X-HELO: tus1smtoutpex02.symantec.com
From: Gordon Grimes <Gordon_Grimes AT symantec DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Fri, 8 Apr 2016 13:52:58 -0700
Subject: RE: grep (GNU grep) 2.24
Message-ID: <70C6F637A7E2844391D854CF15BB7A8F5AAADB4D21@TUS1XCHEVSPIN42.SYMC.SYMANTEC.COM>
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u38KrVuv030622

HI all,

Firstly, I neglected to show that I had piped the grep results into "wc -l".  That's where the numbers came from.
Secondly, I've reinstalled the later version and will watch for a recurrence.  If it happens I'll post the full test, including the "FILE" contents. 

Thanks for the responses.

Enjoy,
-g-

-----Original Message-----
From: Gordon Grimes 
Sent: Monday, March 21, 2016 9:40 AM
To: 'cygwin AT cygwin DOT com' <cygwin AT cygwin DOT com>
Subject: BUG: grep (GNU grep) 2.24 

Hi,

I had generated a FILE by simply doing a 'find' on a directory and used grep to cull the results.  I wasn't working so I repeated and tried the following trivial 'grep':

% wc -l FILE
48786
% grep . FILE
2240

Very wrong. 

I reverted to version 2.21 and everything now works as expected:
% grep . FILE
48786





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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019