From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 37206 invoked by alias); 8 Apr 2016 20:53:16 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 35808 invoked by uid 89); 8 Apr 2016 20:53:15 -0000 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 Received: from tus1smtoutpex02.symantec.com (HELO tus1smtoutpex02.symantec.com) (216.10.195.242) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 08 Apr 2016 20:53:05 +0000 Received: from ecl1mtahubpin02.ges.symantec.com (ustu-zone.relay.symantec.com [10.48.69.202]) by tus1smtoutpex02.symantec.com (Symantec Brightmail Gateway out) with SMTP id ED.91.29015.E2A18075; Fri, 8 Apr 2016 21:53:03 +0100 (BST) Received: from [155.64.220.192] (helo=TUS1XCHEPFPIN40.SYMC.SYMANTEC.COM) by ecl1mtahubpin02.ges.symantec.com with esmtp (Exim 4.76) (envelope-from ) id 1aodOn-00060w-U1 for cygwin@cygwin.com; Fri, 08 Apr 2016 16:53:02 -0400 Received: from TUS1XCHEVSPIN42.SYMC.SYMANTEC.COM ([155.64.221.74]) by TUS1XCHEPFPIN40.SYMC.SYMANTEC.COM ([155.64.220.192]) with mapi; Fri, 8 Apr 2016 13:53:01 -0700 From: Gordon Grimes To: "cygwin@cygwin.com" Date: Fri, 08 Apr 2016 20:53:00 -0000 Subject: RE: grep (GNU grep) 2.24 Message-ID: <70C6F637A7E2844391D854CF15BB7A8F5AAADB4D21@TUS1XCHEVSPIN42.SYMC.SYMANTEC.COM> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg00180.txt.bz2 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 recurrenc= e. If it happens I'll post the full test, including the "FILE" contents.=20 Thanks for the responses. Enjoy, -g- -----Original Message----- From: Gordon Grimes=20 Sent: Monday, March 21, 2016 9:40 AM To: 'cygwin@cygwin.com' Subject: BUG: grep (GNU grep) 2.24=20 Hi, I had generated a FILE by simply doing a 'find' on a directory and used gre= p to cull the results.=A0 I wasn't working so I repeated and tried the foll= owing trivial 'grep': % wc -l FILE 48786 % grep . FILE 2240 Very wrong.=20 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