From: Sasha Slijepcevic <sascha93101@yahoo.com>
To: cygwin@cygwin.com
Subject: dash vs. bash inconsistency
Date: Sat, 28 Mar 2020 01:09:30 +0000 (UTC) [thread overview]
Message-ID: <17459431.114768.1585357770671@mail.yahoo.com> (raw)
In-Reply-To: <17459431.114768.1585357770671.ref@mail.yahoo.com>
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?
Thanks,
Sasha Slijepcevic
next parent reply other threads:[~2020-03-28 1:09 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 [this message]
2020-03-28 1:20 ` Thomas Wolff
2020-03-28 1:44 ` Eliot Moss
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=17459431.114768.1585357770671@mail.yahoo.com \
--to=sascha93101@yahoo.com \
--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).