X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A5621385E009 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=towo.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo AT towo DOT net Subject: Re: dash vs. bash inconsistency To: cygwin AT cygwin DOT com References: <17459431 DOT 114768 DOT 1585357770671 DOT ref AT mail DOT yahoo DOT com> <17459431 DOT 114768 DOT 1585357770671 AT mail DOT yahoo DOT com> From: Thomas Wolff X-Tagtoolbar-Keys: D20200328022015695 Message-ID: <857cc1a3-6d8d-582c-5088-47c82b4f3206@towo.net> Date: Sat, 28 Mar 2020 02:20:15 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <17459431.114768.1585357770671@mail.yahoo.com> X-Provags-ID: V03:K1:mGlMRwjBJT2PwnRoIcNmBpnTp5gaQ77QkhH94zanVPUf6hlA2bq ZO33pVzmqDTPH6ffPdRhPrIACwkU0OjLY1jPh8yFc1nCkDVOjKlT6AdCz1qmT1P6uu1qTmR zNJBc/zb2ixndKWqtjaYiyjGQ8ULlsRjmqtCkjvX2/d3CZ14ypV5Xb2C90Bp6mjzPghF7Ed k3nd4NSQGOvLqo8md2hLg== X-UI-Out-Filterresults: notjunk:1;V03:K0:G6O6O9qH5E0=:TgbDvxcwGkpe3FosBgNiO9 3+msvpJ3y055ISsCT0voSkfsp1aN1Sj3SLi6UmdUPyAAWnh6qgG850hbvBmOq6tlM/dyJHBq/ hs3QgysFPcZJihW1w7A1yKeYPuB+cT2edRCS9r6Gcj7nEtdMUOmZHcA1PgZrwa/p0BTfe3qQD oLwm+8COlDtVF4z1+ixD3tPGq7CBwZik8YbLjQXH9u5eeCIuXRF5/nJuCSXG+90YGd8ok1U9z 3ZqIv3Sm+Mbic6z8deiyk2+24un/OsdazN4vsMcWr4NDu5VBlmNzI5FkuQLukvZpsXXyPaMpH FIfMHVuIQl/ObW8v3TZkHbzYF2DVWpR1IWI4sAyiqozjyzSEMjMxfRnTK8R7R4PGOfS1SxKkV EDSMY6USkoxgo5exeqGH3Q+P2yCx2UK4AG3i7TMtBlpnVJoIbrUfVTpmsrSN66xHs7Csrqf/j gIQlfR+LMe0ZM4WyQDL5rQUFZokx2gwX9TVFVyu1Pjs2Ji5Hbro5vRfe2teSbW5L0rQ29201l lNRfsys23GStPB8BZrYOip5CAUwKNL5g3n3//rop1FvByXqRa3cardvRYqAYUBCyktET5eHbm jApEXtt1eSFaUn11VcizBCug4o/gFJImAfGw5Zq+1sogg2B5BhPiLM28YI5sCnVc1uEr4/dAL L6Iaf1dhPtCijT/hCJc0+mY/D0jaFyulJjSnfEl5SL51IC72fxqsAHmgN4mWhWTqxJxLiVeG7 oiE8a8KkZVPCTSIOPa6b0Y7MkjPK4VTARRCS+rJvQQGxs5FSmdZY3IId4a51HxTx/UwSNEAMQ mKbgUOUznS8NdmOYmTqyzxMulN7vVJ5JKLGIgbn0lFie+sztSg= X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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? Do you happen to have placed a copy of dash into your assumed root, C:\cygwin64\dash.exe? -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple