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:from:to:subject:date:message-id:references :in-reply-to:content-type:mime-version :content-transfer-encoding; q=dns; s=default; b=PywaGNKKig9zIbns WHwIEEiM3eo9dgr803xH/MFelKZf2dZ6UiQzXTxtXoXmKbpC9XzNwGHwJGNQpQzP OKaf+PKnKoQoZkik+Q7rwxnHU3r2nK/X+TzThE5oMXKpRgL2MotnlGTv0C5URWmA TWYbbuwXX6viIkBPEg61HByjKqo= 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=86dWGU5NehmQiCw0OeMjlF m+vs4=; b=eHapuR798pV/zhI44m3yh5+IgmPnZdcK9naXcdE44jiwIPY7r1FcMF qBB7fCxO6WPe/2suJWpf+hNxKMSP7beUwu1nYjtyqxR4ghQ5RsSqgwd4frVKBW36 KLeqXldDcNhUme/FkxsJvpjvxKRvUOmeyD0+zV4ht89KNLBh18idQ= 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.5 required=5.0 tests=AWL,BAYES_00,MIME_BASE64_BLANKS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=deny, dear, Tel, tel X-HELO: mga05.intel.com X-ExtLoop1: 1 From: "Soegtrop, Michael" To: cyg Simple , "cygwin AT cygwin DOT com" Subject: RE: CR-LF handling behavior of SED changed recently - this breaks a lot of MinGW cross build scripts Date: Fri, 9 Jun 2017 15:01:31 +0000 Message-ID: <0F7D3B1B3C4B894D824F5B822E3E5A175B270518@IRSMSX102.ger.corp.intel.com> References: <0F7D3B1B3C4B894D824F5B822E3E5A175B2636E4 AT IRSMSX103 DOT ger DOT corp DOT intel DOT com> <0F7D3B1B3C4B894D824F5B822E3E5A175B26CE47 AT IRSMSX102 DOT ger DOT corp DOT intel DOT com> <59399CC5 DOT 60900 AT tlinx DOT org> <417f84ac-5d9f-dc50-e912-973e90b8a128 AT redhat DOT com> <0F7D3B1B3C4B894D824F5B822E3E5A175B26F278 AT IRSMSX102 DOT ger DOT corp DOT intel DOT com> <34b26965-34c2-b5f0-a3f2-b2c3df344b08 AT gmail DOT com> In-Reply-To: <34b26965-34c2-b5f0-a3f2-b2c3df344b08@gmail.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 v59F1wFB028539 Dear cyg Simple, > but it would be most beneficial if you caused the stdio of your > Windows applications to be in binary format instead of text format. Then the > CR wouldn't be an issue during the pipe process. Why does your applications > stdio need to be in text format instead of binary format? it is not my application I have issues with. I am building many open source tools and libraries which are maintained by others, and as you said, these others have every right to deny implementing windows specific workarounds in their tools or build scripts. Why should anybody use "wb" mode to open a file in a Linux centric app or mess around with the input of sed to remove CRs in a build script for such an app? Of cause the same is true for cygwin, except that I think building MinGW apps is an intended use case for cygwin. But then it needs to have ways to deal with MinGW programs which behave like MinGW programs should, and this means ending lines with cr-lf. 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