From: Daniel Fort <dan@digiola.com>
To: cygwin@cygwin.com
Subject: Re: grep-3.0-2 issues within Makefile
Date: Mon, 29 May 2017 19:50:00 -0000 [thread overview]
Message-ID: <CA+fGtfCrv-rCY4d_XUtPBpTWYFUpTeFqtGraxfQaTC=v_Q=R1A@mail.gmail.com> (raw)
In-Reply-To: <CA+fGtfD__FcrTwnWbg4HyTLPE-2tkSUj7cGUqyioXv6ZtiTh7Q@mail.gmail.com>
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
prev parent reply other threads:[~2017-05-29 19:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-29 8:39 Daniel Fort
2017-05-29 8:52 ` Daniel Fort
2017-05-29 9:48 ` Marco Atzeri
2017-05-29 12:43 ` Eric Blake
2017-05-29 14:29 ` Eric Blake
2017-05-29 17:16 ` Brian Inglis
2017-05-29 19:50 ` Daniel Fort [this message]
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='CA+fGtfCrv-rCY4d_XUtPBpTWYFUpTeFqtGraxfQaTC=v_Q=R1A@mail.gmail.com' \
--to=dan@digiola.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).