public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Gordon Grimes <Gordon_Grimes@symantec.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: grep (GNU grep) 2.24
Date: Fri, 08 Apr 2016 20:53:00 -0000	[thread overview]
Message-ID: <70C6F637A7E2844391D854CF15BB7A8F5AAADB4D21@TUS1XCHEVSPIN42.SYMC.SYMANTEC.COM> (raw)

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@cygwin.com' <cygwin@cygwin.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

             reply	other threads:[~2016-04-08 20:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-08 20:53 Gordon Grimes [this message]
2016-04-09 20:49 ` Gerrit Haase

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=70C6F637A7E2844391D854CF15BB7A8F5AAADB4D21@TUS1XCHEVSPIN42.SYMC.SYMANTEC.COM \
    --to=gordon_grimes@symantec.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).