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:cc:content-type; q=dns; s=default; b=BV+e jc72xowyJvTjdtvC9Yrnifu0qn4He4hKE08qCqNDuHq0QbWg0WJNW/n1SxGHIgbr VLP4lAdGyD9YAE1iSslq+0ohThhaaZncUVoIWqBhyuLEBuzDrfpR1dV9uBhF/68I OoKI3vjWk05escEG9OgnrwV2A2/cqY33Bi5Vzdc= 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:cc:content-type; s=default; bh=UPCSLLu0oV OLWawAUmIUbfGex6A=; b=Me6HRuN43W4Jexil38sF234Tu956H5wFp0qfyMZCvW 4tlizlP5XsQm7Q0QxbQ/v3krGtzE1aewR4CVFc4hgjiYVQsv5dUhC6f8WlOpwLBb eZ8rD1jHpWidHfujzpqUTRvMT5q2y7syrusQX4iIhBVNuOJ67o9eVkS3uewkT3L7 s= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Repin, andrey, repin, Andrey X-HELO: mail-pf0-f174.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:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=baf1iSUBLVzDpDYWJkNvJZ9DD703/or1QaDe27cycl4=; b=nXnaI/U3aL8Zj0j+EiqczZo6V5UqSJQvC6ZWZqZ/zd9pOOl9o+vrsnBh/wBBEVrJN8 93dTNr/hgjIg89j/JQsvHVAcMgnhxQIu4+mgSHZmY6lJuvYhv15hLUgjLCcTvFmRky9y ZbXK73hOifz75+4Gig03W5SWAmZKvsf1YQW8LpnOdVoLSxwSFV6vSc/xdV4mxHhTWO2F zs35AhmDk3Ec4LEFmJBlZNSSiR6Ie+AHC7Z+b9ORLrz4qCWLuOInvTz157eP+at09Ej0 DyrcTFlZTuzv0/u1wR4GzjK6E5DEeoGnnbj8IS5RHA0TYyY4AKi16qH1gjJ1XFmdaBWO Bo1Q== X-Gm-Message-State: AODbwcBZnAkNlNy+xCShaZqYAArBSrBJq+3qYl6s6vudM63j9fscfeDm 5bZOORnuepuu2HJIBiBbFHitqAPB4g== X-Received: by 10.84.199.194 with SMTP id d2mr4919055plh.221.1497023458650; Fri, 09 Jun 2017 08:50:58 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1152474207.20170609183138@yandex.ru> References: <0F7D3B1B3C4B894D824F5B822E3E5A175B2636E4 AT IRSMSX103 DOT ger DOT corp DOT intel DOT com> <0F7D3B1B3C4B894D824F5B822E3E5A175B26CE47 AT IRSMSX102 DOT ger DOT corp DOT intel DOT com> <65acc4a5-6e8e-2f72-4933-263572dc2631 AT SystematicSw DOT ab DOT ca> <0F7D3B1B3C4B894D824F5B822E3E5A175B270532 AT IRSMSX102 DOT ger DOT corp DOT intel DOT com> <1152474207 DOT 20170609183138 AT yandex DOT ru> From: Dan Kegel Date: Fri, 9 Jun 2017 08:50:58 -0700 Message-ID: Subject: Re: CR-LF handling behavior of SED changed recently - this breaks a lot of MinGW cross build scripts To: cygwin AT cygwin DOT com Cc: "Soegtrop, Michael" Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes On Fri, Jun 9, 2017 at 8:31 AM, Andrey Repin wrote: > 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. One could try making a wrapper shell script where sed usually lives that adds those options and calls the real sed... -- 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