This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: BUG: grep (GNU grep) 2.24


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]