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: grep-3.0-2 issues within Makefile


Wow, fantastic help on this list.

> Most likely, $(READELF) is producing \r\n-terminated output. The
> solution, then, is to rewrite the line to:
>
> $(READELF) $< -Ws | tr -d '\r' | $(AWK) ...
>
>>
>> and what is the error ?
>
> Most likely, grep is not filtering as expected, because now that it is
> treating your data as binary rather than text, your explicit $ anchor is
> only matching \n instead of \r\n.

Bingo. That fix worked. Testing it now to make sure it works on other
the other platforms supported by Magic Lantern.

> Eric Blake, Principal Software Engineer

Thank you Eric!

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