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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:mime-version
	:content-transfer-encoding; q=dns; s=default; b=pn9OQIaPXMKa5GAT
	BWe09sSGbX+IuSc6Y08W3aMjPtf3kG7fKRGg26We3m3/Jfgsk9NQuriWxHC+qjDl
	/m2uP9uKE1TiuHHtXCCdb3N3tJG0NemzHQBVUfspM08R5/wtjBRZRsB58RrjBGJ9
	2mUaYFT3k3kQHc6a9Mwx5lMK810=
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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:mime-version
	:content-transfer-encoding; s=default; bh=lTr14QTpk/3XFyJ3TNp0tA
	cpMfA=; b=KkrNxmV4EGriMysL3/vJbrDqbhEaO2CIVZLFN2ionmFEzt8YEfpmSB
	ADGU2A8pOmEZQYHNyJ/ZH+2m1ruXeM32iYnAshTnoqsE2DrszyNMq8sRp45/ccLD
	SI0NtL/KE0+ivQc3+ZnICYu+pw98Ywoef8Yp1gwh/7ptpcwRfxckY=
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=-1.4 required=5.0 tests=AWL,BAYES_00,MIME_BASE64_BLANKS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=dear, Tel, tel, commercial
X-HELO: mga11.intel.com
X-ExtLoop1: 1
From: "Soegtrop, Michael" <michael.soegtrop@intel.com>
To: Vince Rice <vrice@solidrocksystems.com>,
        "cygwin@cygwin.com"	<cygwin@cygwin.com>
Subject: RE: CR-LF handling behavior of SED changed recently - this breaks a lot of MinGW cross build scripts
Date: Thu, 8 Jun 2017 14:52:12 +0000
Message-ID: <0F7D3B1B3C4B894D824F5B822E3E5A175B26F03A@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> <9B5AD0AF-F256-4C45-B2BA-14DCDA2EF61E@solidrocksystems.com>
In-Reply-To: <9B5AD0AF-F256-4C45-B2BA-14DCDA2EF61E@solidrocksystems.com>
dlp-product: dlpe-windows
dlp-version: 10.0.102.7
dlp-reaction: no-action
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id v58EqTAD026183

Dear Vince,

> Use binary mounts. The root of the problem is using text mounts in the first
> place.

How would this help to convince sed to do CR-LF to LF conversion, especially on piped input? 

Also I think all my mounts are binary:

$ mount
D:/bin/cygwin /bin on /usr/bin type ntfs (binary,auto)
D:/bin/cygwin /lib on /usr/lib type ntfs (binary,auto)
D:/bin/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
D: on /cygdrive/d type ntfs (binary,posix=0,user,noumount,auto)

Best regards,

Michael
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

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


