From: Eliot Moss <moss@cs.umass.edu>
To: cygwin@cygwin.com
Subject: Re: dash vs. bash inconsistency
Date: Fri, 27 Mar 2020 21:44:01 -0400 [thread overview]
Message-ID: <2bb9e62f-33d5-bcc7-b38f-ae22ea767847@cs.umass.edu> (raw)
In-Reply-To: <17459431.114768.1585357770671@mail.yahoo.com>
On 3/27/2020 9:09 PM, Sasha Slijepcevic via Cygwin wrote:
> 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?
Did you happen to notice that in the second case you misspelled
the name of the executable, using a - instead of an _ ?
Best - Eliot
next prev parent reply other threads:[~2020-03-28 1:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <17459431.114768.1585357770671.ref@mail.yahoo.com>
2020-03-28 1:09 ` Sasha Slijepcevic
2020-03-28 1:20 ` Thomas Wolff
2020-03-28 1:44 ` Eliot Moss [this message]
2020-04-23 15:38 ` Sasha Slijepcevic
2020-04-23 17:26 ` Maarten Hoes
2020-04-23 21:38 ` Mark Geisert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2bb9e62f-33d5-bcc7-b38f-ae22ea767847@cs.umass.edu \
--to=moss@cs.umass.edu \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).