From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32783 invoked by alias); 13 Sep 2017 14:34:09 -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 32769 invoked by uid 89); 13 Sep 2017 14:34:09 -0000 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,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Strict, vendors, Michel, purchase X-HELO: mail-it0-f47.google.com Received: from mail-it0-f47.google.com (HELO mail-it0-f47.google.com) (209.85.214.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 13 Sep 2017 14:34:08 +0000 Received: by mail-it0-f47.google.com with SMTP id o200so3216044itg.0 for ; Wed, 13 Sep 2017 07:34:07 -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:reply-to:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+O/DAGdHUYQ2JciFX76ByTtP+6VA9zd0be7ecNki1kY=; b=bF5PmIUvtP80O3/24wpuFMl6zDjVUPXRsoY0mKYwqrizjv97HRaakvWP4PFYNw6F3k ckLYg4cCQbcSL3wg7BCyufiOyebwX4lHq6s3QDxbbJ0nucoCLrjW1qiffcMUD4kMwvqi H6tSTa6stGRhvQtzQaft8pXiJnYCJmSJA4gBX+J+CRfh9Wgo3FJm2cHkBGt+IIpRvstF UVyfRM+lApdMe+eMCV9uMtpZ7nSRJcDooaLE3KlOn1iyoNLdOC+zGgdte0UzF26ly6yX Amt5MEmviEBRMh3ThV1ZmZh/Vi+IY+eG+ETJu1O+RuwwCXxSw8uctYIlRGpJa6OxSDEF BL2g== X-Gm-Message-State: AHPjjUiWMQoueKnoWpmCRnHu3w30yq55zJ5YC23aTGEjSY3e9cfabryX IL0W8FueQ+vJgq+4 X-Google-Smtp-Source: AOwi7QCZxL1rg4R424wnR9Nn2AQi9+UkQ8BP1ulOive8E6dQRXaejEd4ER6g9LMktdMBrjdMpGFw8A== X-Received: by 10.36.26.133 with SMTP id 127mr5237171iti.88.1505313246040; Wed, 13 Sep 2017 07:34:06 -0700 (PDT) Received: from [192.168.0.6] (d4-50-42-50.try.wideopenwest.com. [50.4.50.42]) by smtp.gmail.com with ESMTPSA id o184sm3812924ioo.48.2017.09.13.07.34.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Sep 2017 07:34:05 -0700 (PDT) Subject: Re: Extra CR symbol from backticks on Cygwin 2.9.0 To: cygwin@cygwin.com References: <7ed18312-4929-8299-d186-9cb0aa541a93@redhat.com> <61150261-b3c4-d5e5-23ff-a4320a19715c@redhat.com> <502a33ed-6029-5a22-c3ff-83bd382437df@gmail.com> <000b01d32c24$d5baf2c0$8130d840$@rogers.com> From: cyg Simple Reply-To: cygwin@cygwin.com Message-ID: <801c5a84-2763-05e0-340e-6bf0f09f9e6c@gmail.com> Date: Wed, 13 Sep 2017 14:34:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <000b01d32c24$d5baf2c0$8130d840$@rogers.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00146.txt.bz2 On 9/12/2017 8:11 PM, Michel LaBarre wrote: > > Not trying to sound like a jerk, but I am still not clear as to why CYGWIN users are not using Linux unless they have to support code running in both POSIX and Windows environments in which case, the CYGWIN mission could be elaborated to mention facilitating portability to, and integration with, Windows which go beyond just standards compliance. This might elevate deviations, such as "igncr", from being perceived as catering to the lazy, non-purist, unwashed masses rather than as genuinely valuable and essential elements of CYGWIN. > Because there are vendors who supply applications that our employers purchase and tell us to support it. Those applications could be on Linux or on Windows or whatever OS. Having the same scripts to support many various operations be exactly the same for each operation is helpful from a maintenance POV. If it works on Cygwin I can know that it will work on Linux. If it works on Linux it may or may not work in Cygwin just because of the extra CR Windows is famous for. If it works on Linux it may or may not work on some other *nix OS but if that *nix is POSIX compliant most likely it will especially if extensions weren't used in the scripts. > Strict POSIX compliance suits developers of self-contained vertical applications with minimal need for deviations; the whole application is safely ensconced within a POSIX cocoon. On the other hand, developers integrating Windows applications and services over which they have no control may need more flexibility. > Most have issues when they try to use Cygwin outside of the Cygwin shell. While Cygwin tries to be helpful with that method it isn't the suggested method of use and has lack of testers for changes. If you use Cygwin outside of the Cygwin "ensconced POSIX cocoon" then when a test version of Cygwin is released and a call for testers then you'd be better served by testing and reporting issues than being surprised when updating after it is released. > That being said, it has been generous on the part of CYGWIN implementors to recognise the CYGWIN audience for whom strict POSIX compliance is secondary and the main objective is to have useful tools under Windows that also support portability outside Windows. Thank you. > Cygwin has never been totally empathetic to Windows executables. There are many things that work but for each one that works there is another that won't. You can't expect that a Windows executable to understand the POSIX PATH emulation for instance. If you try to mix and match executables between Cygwin and Windows you may have luck with a particular version but later find that it no longer works because some small change now causes you issues. Live inside the Cygwin environment as much as possible and limit the amount of pure Windows applications you use. I know there are many times when it's preferable to use a Windows version versus a Cygwin version of an application gvIm is one I use as a Windows app but I create a script to manage the PATH given to the gvim.exe application. When playing with Windows applications you have to be willing to work around the differences, it is usually possible and if you have issues with trying to do so then this list is here to help. -- cyg Simple -- 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