From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31628 invoked by alias); 29 May 2017 19:18:01 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 31582 invoked by uid 89); 29 May 2017 19:18:00 -0000 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 Received: from mail-qt0-f171.google.com (HELO mail-qt0-f171.google.com) (209.85.216.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 29 May 2017 19:17:59 +0000 Received: by mail-qt0-f171.google.com with SMTP id c13so55770559qtc.1 for ; Mon, 29 May 2017 12:18:03 -0700 (PDT) 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 Received: by 10.12.145.235 with HTTP; Mon, 29 May 2017 12:18:00 -0700 (PDT) In-Reply-To: References: From: Daniel Fort Date: Mon, 29 May 2017 19:50:00 -0000 Message-ID: Subject: Re: grep-3.0-2 issues within Makefile To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2017-05/txt/msg00482.txt.bz2 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