From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m0.truegem.net (m0.truegem.net [69.55.228.47]) by sourceware.org (Postfix) with ESMTPS id 321093957483 for ; Thu, 23 Apr 2020 21:38:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 321093957483 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=maxrnd.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=mark@maxrnd.com Received: (from daemon@localhost) by m0.truegem.net (8.12.11/8.12.11) id 03NLcjKP072247 for ; Thu, 23 Apr 2020 14:38:45 -0700 (PDT) (envelope-from mark@maxrnd.com) Received: from 162-235-43-67.lightspeed.irvnca.sbcglobal.net(162.235.43.67), claiming to be "[192.168.1.100]" via SMTP by m0.truegem.net, id smtpdqJNTyc; Thu Apr 23 14:38:39 2020 Subject: Re: dash vs. bash inconsistency To: cygwin@cygwin.com References: <17459431.114768.1585357770671.ref@mail.yahoo.com> <17459431.114768.1585357770671@mail.yahoo.com> <931718380.354258.1587656281580@mail.yahoo.com> From: Mark Geisert Message-ID: <86bf4cba-3382-58db-aafb-ebf178b83109@maxrnd.com> Date: Thu, 23 Apr 2020 14:38:39 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 MIME-Version: 1.0 In-Reply-To: <931718380.354258.1587656281580@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2020 21:38:50 -0000 Sasha Slijepcevic via Cygwin wrote: > On 3/28/2020, Thomas Wolff wrote: > >> Am 28.03.2020 um 02:09 schrieb Sasha Slijepcevic via Cygwin: >>> I am using Cygwin 3.1.4-1, bash 4.4.12-3 and dash 0.5.9.1-1. >>> >>> I have a setup.exe in the root of my Cygwin installation, C:\cygwin64, for example. >>> If I set PATH=C:\cygwin64;C:\cygwin64\bin, I can run setup.exe from bash. >>> >>> C:\>set PATH=C:\cygwin64;C:\cygwin64\bin >>> >>> C:\>bash >>> $ echo $PATH >>> /:/usr/bin >>> $ setup-x86_64.exe  --version >>> Cygwin setup 2.903 >>> >>> However, in dash: >>> C:\>dash >>> $ echo $PATH >>> /:/usr/bin >>> $ setup-x86-64.exe --version >>> dash: 2: setup-x86-64.exe: not found >>> >>> Am I misusing Cygwin trying to run executables from the top of the installation? Is it expected to all shells would behave the >>> same? You mis-typed the name of the executable when trying dash. ..mark