delorie.com/archives/browse.cgi | search |
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:mime-version | |
:content-type:content-transfer-encoding; q=dns; s=default; b=PsW | |
GQJYUTltF66p6nT7T4rFSWQRd4rJASWIO0ebm9tFbfOxoWktS86o43ja0mZxT+n+ | |
RdYcyANUcdHLJ+pbs86nN9q8h/d4RWjWEET53MZaSVUT9ajBjNaUlDXaWPnjeGR3 | |
3aEWxERxfl9JpOqwW/6QWRm5UbfmjlWi7DYCig/k= | |
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:mime-version | |
:content-type:content-transfer-encoding; s=default; bh=UZkcgKcKs | |
qarzx76Vi/pv+A3ZQ0=; b=PbDr8LTKW5o0wHAFXuW2MJhgqBBOM58ZeH8nqFA3e | |
huPRFSvhvZzUwF9Vw129uVJsYjBK7AxumujRlWdf5RviCAFgHjrIdyq1cVwXfFjA | |
Zg6M63oUddGv0eQiKfidAGNcK8KjgUxttO74f9JotMe/XojwOVr+82FF/O+KZHoa | |
tY= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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=2.6 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=decades, awk, zot, mks |
X-HELO: | nm17-vm7.access.bullet.mail.bf1.yahoo.com |
X-Yahoo-SMTP: | _oUbE.SswBCQ_d_LvSIk7sZfv6R7Is8n9OVRVjJJh3dhqEgGPCs- |
From: | "Michel LaBarre" <michel DOT labarre AT rogers DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | PATHEXT is fundamental to Windows and Should be recognised by CYGWIN |
Date: | Wed, 3 Aug 2016 21:43:46 -0400 |
Message-ID: | <001001d1edf1$a4e1ae90$eea50bb0$@rogers.com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id u741j3w9024051 |
The CYGWIN site makes it quite difficult to discern how somebody can report an issue or comment. In any event, I subscribed to the cygwin mailing list and am replying to one of the many links sent to me in case this happens to be a way to comment. Problem 1: Cygwin does not support PATHEXT and really should. Fundamental reason: from the Cygwin FAQ - What is it? "Cygwin is a distribution of popular GNU and other Open Source tools running on Microsoft Windows." PATHEXT is as fundamental component of Windows program execution as PATH. Without using extensions, bash can use execution privileges to determine if a file is executable. However, that does not work when invoking a command from CMD. This means that when invoked from BASH, you name a command "ZOT" but "ZOT.sh" (or similar) if invoked from CMD. The published solutions in the various FAQs are not satisfactory. Creating links between ZOT.sh and ZOT creates substantial overhead. If CYGWIN really intends to support Windows it should support its fundamental execution framework. It should be equally easy to invoke a bash script from a bash script or a CMD script. (This is not insurmountable as the MKS toolkit has supported this for decades.) Problem 2: Cygwin does not support CR-LF delimiters. For the same reason, it is unfortunate that CYGWIN/bash does not cope with both types of line delimiters transparently. I have been using and developing system software within Unix since 1974 and Windows since the mid-80's. in more recent years (since the mid-90's) I have developed extensive sets of tools (sh/awk/etc..) for corporate and public sector clients - on the order of 100,000 lines of code for representative projects. Most had to run under both Solaris and Windows environments for which I used the MKS toolkit. Michel LaBarre -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |