delorie.com/archives/browse.cgi | search |
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:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type; q=dns; s=default; b=B1kD | |
iTNWQG66cndATBgmZ6jK/jpuE18PDpvfLgLIcy/rf09dXfROITrL6jkAeZq6NXk5 | |
NJnZNzHYm3RFW2LG4Q3cdQbnr6Du5IWJs/l9K1s4FpG442HZT7RjxLYUvJcv6ZQc | |
PjkLRCV3Dr0jLW8BXyypoSx7U0yBEUYjprS+8DQ= | |
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:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type; s=default; bh=wXiiCqTnCo | |
LLU4MzFblGm88T7tM=; b=TJGsMWbMsJWxkkFj8Zr3iBPGufO1pZg4k62iBMTfce | |
uRHWCK44NbfLvHu4mYdCjAjVQMk4OUXZyy4qy+P3eFCM3T8/EQYDiroyth93A+DV | |
rbY9kGYj46tp2wuK5CQSv7cdl4QExeOkNPvfQXsuyGYkrPFgs3ZZhyTQjjq6Ot8u | |
I= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*MI:sk:1152474, H*c:application |
X-HELO: | mx1.redhat.com |
DMARC-Filter: | OpenDMARC Filter v1.3.2 mx1.redhat.com 8026680F8D |
Authentication-Results: | ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com |
Authentication-Results: | ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=eblake AT redhat DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 mx1.redhat.com 8026680F8D |
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 |
References: | <0F7D3B1B3C4B894D824F5B822E3E5A175B2636E4 AT IRSMSX103 DOT ger DOT corp DOT intel DOT com> <a53282b6-d00c-aad8-76a6-26b4089a9623 AT redhat 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: | Eric Blake <eblake AT redhat DOT com> |
Openpgp: | url=http://people.redhat.com/eblake/eblake.gpg |
Message-ID: | <f29ea531-752a-58bc-cefd-5237af02ff20@redhat.com> |
Date: | Fri, 9 Jun 2017 10:56:11 -0500 |
User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <1152474207.20170609183138@yandex.ru> |
X-IsSubscribed: | yes |
--hQvHeli8mtD5JuXeB1MaXPrjJOnMHpOVP Content-Type: multipart/mixed; boundary="5bMM4NUtUT2sV8hNH3mF3hL6k7P6ElMGP"; protected-headers="v1" From: Eric Blake <eblake AT redhat DOT com> To: cygwin AT cygwin DOT com Message-ID: <f29ea531-752a-58bc-cefd-5237af02ff20 AT redhat DOT com> Subject: Re: CR-LF handling behavior of SED changed recently - this breaks a lot of MinGW cross build scripts References: <0F7D3B1B3C4B894D824F5B822E3E5A175B2636E4 AT IRSMSX103 DOT ger DOT corp DOT intel DOT com> <a53282b6-d00c-aad8-76a6-26b4089a9623 AT redhat 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> In-Reply-To: <1152474207 DOT 20170609183138 AT yandex DOT ru> --5bMM4NUtUT2sV8hNH3mF3hL6k7P6ElMGP Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 06/09/2017 10:31 AM, Andrey Repin wrote: > Greetings, Soegtrop, Michael! >=20 >>> alias sed=3D'sed -b -e '\''s/\r$//'\''' >=20 >> thanks, an interesting idea! Putting this into something like .bashrc mi= ght >> have a similar effect as having a special sed build with CR stripping bu= ilt in. >=20 > Except it may not work in makefiles, since make calls sed directly. Then make it a script that you put first on your $PATH. --=20 Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org --5bMM4NUtUT2sV8hNH3mF3hL6k7P6ElMGP-- --hQvHeli8mtD5JuXeB1MaXPrjJOnMHpOVP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJZOsUbAAoJEKeha0olJ0NqybAIAKNnSkliTLCz1jjV9P0DaUk4 ZkuI+H+JV10+MjiSuEJAwAWqnTShlRyHkuatxknnM9GnPySGaoQzAsONWrEkmxmF uClUkusphkKAIyhHOOIRgQi3owZDpHgXAFNGOzRLek7iODcZIxSH+33ALbwrzQV9 Goe22DYQRlAJ/ZaQum1eD4LP9g5p272YzsGzl976CI9w1mK0EWp4N3Xof75D/PDD uDqaD4HC65lGG4jiif8+rAPH9c6nhlEon7TAqK/WE9V05cHMRQoA2P2TcjDs1bHf VEFCVPzn3z5burY1tohLknqexgthgZqKjnwptnZSkD8sJXR/tgCgMctgMXYcaPY= =UDPp -----END PGP SIGNATURE----- --hQvHeli8mtD5JuXeB1MaXPrjJOnMHpOVP--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |