From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 66063 invoked by alias); 16 Jun 2018 13:32:54 -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 66053 invoked by uid 89); 16 Jun 2018 13:32:53 -0000 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 Received: from mail-wr0-f173.google.com (HELO mail-wr0-f173.google.com) (209.85.128.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 16 Jun 2018 13:32:52 +0000 Received: by mail-wr0-f173.google.com with SMTP id l41-v6so12422455wre.7 for ; Sat, 16 Jun 2018 06:32:51 -0700 (PDT) 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) Received: from ?IPv6:2003:ee:63e7:a101:f0db:fbc1:10fd:70d? (p200300EE63E7A101F0DBFBC110FD070D.dip0.t-ipconnect.de. [2003:ee:63e7:a101:f0db:fbc1:10fd:70d]) by smtp.gmail.com with ESMTPSA id c201-v6sm6240894wmh.18.2018.06.16.06.32.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Jun 2018 06:32:48 -0700 (PDT) Subject: Re: 2.10.0: Cygwin now can not work well with a file in dos format. To: cygwin@cygwin.com References: <2bfeabde.39a8.16403e31153.Coremail.tuyanyi@163.com> <0F7D3B1B3C4B894D824F5B822E3E5A177880092C@IRSMSX102.ger.corp.intel.com> <003101d40572$dcd479f0$967d6dd0$@rogers.com> From: Marco Atzeri Message-ID: <9e083c12-dc2d-dc92-1553-aabb5dea4390@gmail.com> Date: Sat, 16 Jun 2018 15:21:00 -0000 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 X-SW-Source: 2018-06/txt/msg00194.txt.bz2 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