From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33147 invoked by alias); 9 Jun 2017 15:50:57 -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 33132 invoked by uid 89); 9 Jun 2017 15:50:56 -0000 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 Received: from mail-pf0-f174.google.com (HELO mail-pf0-f174.google.com) (209.85.192.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 09 Jun 2017 15:50:55 +0000 Received: by mail-pf0-f174.google.com with SMTP id 15so2262734pfc.1 for ; Fri, 09 Jun 2017 08:51:00 -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: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 Received: by 10.100.160.10 with HTTP; Fri, 9 Jun 2017 08:50:58 -0700 (PDT) In-Reply-To: <1152474207.20170609183138@yandex.ru> 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> <1152474207.20170609183138@yandex.ru> From: Dan Kegel Date: Fri, 09 Jun 2017 15:50:00 -0000 Message-ID: Subject: Re: CR-LF handling behavior of SED changed recently - this breaks a lot of MinGW cross build scripts To: cygwin@cygwin.com Cc: "Soegtrop, Michael" Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00086.txt.bz2 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