BUG: grep (GNU grep) 2.24

Peter Rosin peda@lysator.liu.se
Mon Mar 21 14:06:00 GMT 2016


On 2016-03-21 14:56, Achim Gratz wrote:
> Gordon Grimes writes:
>> % wc -l FILE
>> 48786
>> % grep . FILE
>> 2240
>>
>> Very wrong. 
> 
> You're aware that "." doesn't match empty lines?

Agreed, that is relevant, but there's the difference between v2.21 and v2.24...

On a whim and given that we don't know what FILE is, I'd give this a go:

% LANG=C grep . FILE

Cheers,
Peter

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