delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/29/15:18:21

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=UlORPoc
gNJudocIZFWVbseigu/dqBZq9iiVZQ4Uk00MxEaV9eIb7dYbaQ9vkd5Ny0E4+/im
6rPoAQL03dR3MmE9xtpw8N8EUbKYTSFbBViB3INhXUu1kF7WZ+mFrVmYceY/WsNP
I9YbNqCNTezvEUjy9oA1gZZ2JArIx/vxgsnA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=/6Y9KwYsirQ/f
rWIOFNU74y4sog=; b=ghn9GGFf7n94oy3rfuR3xUa87H5R65/Hkx6qVRiK862/f
v/p3M00Oh3ZzLAirrGzewwjuivSdljAxZjZsLO9M/72FhsZ1tpKuDBXNzDGWOyWG
8icfZWUjF6mb1Ghv2eWj7WwP5jvIdqHNTPUUnHVhjZKltX+vXqbT3vr1oaQi5c=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=fantastic, wow
X-HELO: mail-qt0-f171.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=K1my22oyven0csVqPTrWIYxLcW0zFHAvpqTUWdLfzww=; b=SzrDtc6Syz6jS0O/vGXxZ5s7M8V0MKZTS4y6GaSLhO/Td67PWzMInUuLTpZ8Lemdau c2iaiXH1P5/BBF5oTapZiPJdw54jPAtCrr8xfkwfzlUq3eHEe0G5pnEqykS8qbewDXI/ Bw5GUrU6Oc1upjWfn/UOzb5YoRZg8KQHMuo7d6RxZnb9x834syYAd7ZmVQUYTiIKugZE 9VbJVY/VoJQ+a3os5fK+Up4IK3tN/XUZJhQ2drax1JxCqePw43j6qfUFRsnPBUUDxCJn 0zqCW+RbftoDSK6SO69BYDWqHZ56P23UXt5gi9VzSUs2PnausL4I8B/SyW0mM0zMFjNw /roQ==
X-Gm-Message-State: AODbwcAHi4Vs5/GhiwGZ099dIzAJBgLD0A0tFvfoHGSkOqoIdWcY3Y+l 5JNqZGd9lya765XK87sRX+TIOrxgUizs6EI=
X-Received: by 10.200.57.37 with SMTP id s34mr18745193qtb.141.1496085481360; Mon, 29 May 2017 12:18:01 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <CA+fGtfD__FcrTwnWbg4HyTLPE-2tkSUj7cGUqyioXv6ZtiTh7Q@mail.gmail.com>
References: <CA+fGtfD__FcrTwnWbg4HyTLPE-2tkSUj7cGUqyioXv6ZtiTh7Q AT mail DOT gmail DOT com>
From: Daniel Fort <dan AT digiola DOT com>
Date: Mon, 29 May 2017 12:18:00 -0700
Message-ID: <CA+fGtfCrv-rCY4d_XUtPBpTWYFUpTeFqtGraxfQaTC=v_Q=R1A@mail.gmail.com>
Subject: Re: grep-3.0-2 issues within Makefile
To: cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019