BUG: grep (GNU grep) 2.24

Houder houder@xs4all.nl
Mon Mar 21 13:51:00 GMT 2016


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



More information about the Cygwin mailing list