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:mime-version:content-type
	:content-transfer-encoding:date:from:to:subject:in-reply-to
	:references:message-id; q=dns; s=default; b=MKGN63DOfjSzkbmH2kzl
	H6SQ59q2D+/1G4woXYi8yC6CmT07Lk8+rh3x7BWxJxczyKadx3xOp8UZ3ruH1ONl
	HOlnB/AO8SM2i4TFlK30F5lT7FzSc+Z1dSyY/Yf/OOI8OUWrAIhRzRJwnuKeBlGq
	K/FqGLFBr0hVdHaciemjaYs=
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:content-type
	:content-transfer-encoding:date:from:to:subject:in-reply-to
	:references:message-id; s=default; bh=EIpahGNJa8FT90/NXRrFqOCguC
	k=; b=qDH83mOWoMBEH3dDLcFGtJ6bKd2uCgVpE8oaSSV5JVMwLrGEq++kXHOGat
	llTEmYitWXD8XOOv9uo9W+hYVpomQbBcNVurFWOhzeiMKe70IAw5HbGRaOHQHfIJ
	Ihm7I+KqHOQ833LNI6IqdRjoyIpl6+QNYOj8VAe6VcEEd28SM=
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=-0.6 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=436, Hx-languages-length:601, grimes, Grimes
X-HELO: lb2-smtp-cloud6.xs4all.net
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Date: Mon, 21 Mar 2016 14:50:59 +0100
From: Houder <houder@xs4all.nl>
To: cygwin@cygwin.com
Subject: Re: BUG:  grep (GNU grep) 2.24
In-Reply-To: <70C6F637A7E2844391D854CF15BB7A8F5AAA58FF06@TUS1XCHEVSPIN42.SYMC.SYMANTEC.COM>
References: <70C6F637A7E2844391D854CF15BB7A8F5AAA58FF06@TUS1XCHEVSPIN42.SYMC.SYMANTEC.COM>
Message-ID: <b2c8e5c208024a0a1a4d80afc2642326@xs4all.nl>
X-Sender: houder@xs4all.nl (WfT/2MEXnCHVePDKpQUMZg==)
User-Agent: XS4ALL Webmail
X-IsSubscribed: yes

On 2016-03-21 14:40, Gordon Grimes wrote:
> 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

@@ grep -v '.' vrf_xxx.txt | wc -l
80
@@ grep '.' vrf_xxx.txt | wc -l
356
@@ wc -l vrf_xxx.txt
436 vrf_xxx.txt
@@ grep --version
grep (GNU grep) 2.24
...

I am content.

Regards,

Henri

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

