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 :content-transfer-encoding; q=dns; s=default; b=OebF8Q61PlH53DI9 qz73/sDcaiLiRlbl8YIiY3JVEd68yw2YG3iNKda8/L2LzcAS4YCfWQ3b5xWC7/mL c+Zq1x0HmP2a7kp5RcQxukACzqf81veJdR84f4jrUHrnjcpOnJn+YfZgTFcmMNBo uVHbCSi26noqPk0Q09tRaycoUYM= 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 :content-transfer-encoding; s=default; bh=0Fm/soQrP3/s7w1HKzf7AX 3ipDE=; b=H9f5OXiosYM5kRtc3Pmjy4upGJ3QjKkp6KplTI/DXPBt4JdTYMvwPX woWUM8fh7n0FuDkdi/KluYpaS6ROaWMr3YE9/vMy6+SA+nbKwLxTxS4vFTsl0sF1 eZfgA/Zmr0rkojAOAqnixLyKbUEbs0KNG531NxF5Pz46z7bKE19PI= 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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:2016, pay, emails X-HELO: mail-wr0-f173.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ias9NnBQzzqLHrXfuVyRmRGYiLveVos6f/zuzSlmDi4=; b=KlMRNIwNvW77nPEjg9weiRx2V2c0xzfXT3usx2D2SxETLnTVGZLr8ztxeq/WKIoPmG WI5x2297NjpknxFAwof7PcrgokX36OjfcfiT8nk40LAJRCw5mnyJzfOPd/nLFn9ZsPDD 3PVan3H4jXe+AsCliarKDbYvDT5gdK0sYavy5m+auxBiv0i8gi618kxtHJ1A2BlKxjlE ETPPq7llXZizlxVbrLaalqLprQeU3dKjxH2FH52SGPoSdHAbcgZFMnm8eg9SWqG/vwJL QicLVVcCD5v1jhv2lk8HxLK/AWga8c+2v7m4h+rWQ+weTiXd/pCE7rkM5Y44NZuLN4u9 lsDQ== X-Gm-Message-State: APt69E02s+FkiT3gIyU2UXYX2CTwmjrbnCumHqBLcuqS9DqWytuf+30T k4eANAob46QpXCZ8/ooUaj7SMid+ X-Google-Smtp-Source: ADUXVKJfWvCoSiw2G1MTH0lUdXLNct8eilZCqE0bIjHJGeTtsomDLLxu1EndlcDxodS1DrmcFw42QA== X-Received: by 2002:adf:aadd:: with SMTP id i29-v6mr4809720wrc.149.1529155969664; Sat, 16 Jun 2018 06:32:49 -0700 (PDT) Subject: Re: 2.10.0: Cygwin now can not work well with a file in dos format. To: cygwin AT cygwin DOT com References: <2bfeabde DOT 39a8 DOT 16403e31153 DOT Coremail DOT tuyanyi AT 163 DOT com> <0F7D3B1B3C4B894D824F5B822E3E5A177880092C AT IRSMSX102 DOT ger DOT corp DOT intel DOT com> <003101d40572$dcd479f0$967d6dd0$@rogers.com> From: Marco Atzeri Message-ID: <9e083c12-dc2d-dc92-1553-aabb5dea4390@gmail.com> Date: Sat, 16 Jun 2018 15:32:46 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <003101d40572$dcd479f0$967d6dd0$@rogers.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 6/16/2018 3:06 PM, Michel LaBarre wrote: > > > [Michel LaBrre:] > I also find the decision unfortunate as I am one of the many riff-raff who use Cygwin to supplement windows > and have no need for strict POSIX compliance but then I get what I pay for :-) In any event I have a few > questions: > > 1. Where in the release notes is this mentioned so that I can try to ensure that I find out about future changes? > Searching for Cygwin release notes gets me to https://cygwin.com/cygwin-ug-net/ov-new.html > In which I have found no (or could not recognise) mention of no longer stripping CR. > Are there more detailed release notes somewhere else? https://sourceware.org/ml/cygwin-announce/2017-02/msg00020.html for sed > > 2. Various "solutions" have been noted for gawk in related emails - all require minor but pervasive code changes. > Are there any similar solutions for the other tools besides scattering "tr" all over the place? > Is everything affected from sort to grep to join? This could impact the use of such tools with multiple files > some of which come from Win32 tools and others from Cygwin tools. I may be wrong about the > pervasiveness of the impact since, as I said, nothing was apparent in the release notes that I found. > > Also, I don't recall seeing related discussions in this mail-list. Would these have taken place in > another Cygwin-developer-focused mail-list? no. here my solution is to use d2u and u2d of dos2unix package for moving files between the two formats. > 3. Is there any chance of Cygwin providing a pervasive file behaviour control switch for all the affected tools > that have been used generally for text rather than binary data handling? LF and CRLF format files are both text but in different environments > > 4. Would MSYS be better for those of us who are trying to supplement Windows rather than running Linux > on Windows? it depends on your preference. > > Thanks, > /Michel > -- 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