From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 85592 invoked by alias); 9 Jun 2017 15:35:05 -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 85533 invoked by uid 89); 9 Jun 2017 15:35:04 -0000 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 Received: from forward2p.cmail.yandex.net (HELO forward2p.cmail.yandex.net) (77.88.31.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 09 Jun 2017 15:35:03 +0000 Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [IPv6:2a02:6b8:0:1619::15:6]) by forward2p.cmail.yandex.net (Yandex) with ESMTP id 4C08E20EE5; Fri, 9 Jun 2017 18:35:05 +0300 (MSK) Received: from smtp4j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4j.mail.yandex.net (Yandex) with ESMTP id 814FD3240E33; Fri, 9 Jun 2017 18:35:04 +0300 (MSK) Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id q4JWbeCEG8-Z3I8xmW0; Fri, 09 Jun 2017 18:35:03 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Authentication-Results: smtp4j.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Fri, 09 Jun 2017 15:31:38 -0000 Date: Fri, 09 Jun 2017 15:35:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <1152474207.20170609183138@yandex.ru> To: "Soegtrop, Michael" , 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> <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 X-SW-Source: 2017-06/txt/msg00085.txt.bz2 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