X-Recipient: archive-cygwin@delorie.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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=Kbw/HcgwpVSQyFNn
	gVmdKHoyVxPPoRJ86pK6FcbimxsctbsoU1ffVILyFxN87DLkJflMBLkLFuoATXPu
	hg1s+aHAOTXIC1ZK1RdlK4XKGdsbcxzmLh6GjbM/0DOAfqR5asKoiI4N0XWRTsa2
	M/naKR+7g1D+YYJN8vdh+qMB9AQ=
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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=Z3KpA5gPXXea98iyv5yHiO
	ykwoI=; b=xtiOxfd4i023bKpL62b+7a28SPn6u88UPdWF6U1hL2x1C2KNJmvcqe
	ZV4bd2e6VOdKrwEwwvjpsKyWoDl/bRt8zHkb/I9JU+37mqGiDNrLQWgAv14a0BUq
	0kxdg6WHXxqhO4CP2MmyBt5bOwtIc+C64wvZkqoJxvJfChBk9PKoI=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=BAYES_05,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*yandex.ru, H*M:yandex, andrey, Repin
X-HELO: forward2p.cmail.yandex.net
Authentication-Results: smtp4j.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-Suid-Status: 1 0,1 0
Date: Fri, 9 Jun 2017 18:31:38 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1152474207.20170609183138@yandex.ru>
To: "Soegtrop, Michael" <michael.soegtrop@intel.com>, cygwin@cygwin.com
Subject: Re: CR-LF handling behavior of SED changed recently - this breaks a lot of MinGW cross build scripts
In-Reply-To: <0F7D3B1B3C4B894D824F5B822E3E5A175B270532@IRSMSX102.ger.corp.intel.com>
References: <0F7D3B1B3C4B894D824F5B822E3E5A175B2636E4@IRSMSX103.ger.corp.intel.com>   <a53282b6-d00c-aad8-76a6-26b4089a9623@redhat.com>  <0F7D3B1B3C4B894D824F5B822E3E5A175B26CE47@IRSMSX102.ger.corp.intel.com>  <65acc4a5-6e8e-2f72-4933-263572dc2631@SystematicSw.ab.ca>  <0F7D3B1B3C4B894D824F5B822E3E5A175B270532@IRSMSX102.ger.corp.intel.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Soegtrop, Michael!

>> alias sed='sed -b -e '\''s/\r$//'\'''

> thanks, an interesting idea! Putting this into something like .bashrc might
> have a similar effect as having a special sed build with CR stripping built in.

Except it may not work in makefiles, since make calls sed directly.


-- 
With best regards,
Andrey Repin
Friday, June 9, 2017 18:31:11

Sorry for my terrible english...


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

