From: Thomas Wolff <towo@towo.net>
To: cygwin@cygwin.com
Subject: Re: dash vs. bash inconsistency
Date: Sat, 28 Mar 2020 02:20:15 +0100 [thread overview]
Message-ID: <857cc1a3-6d8d-582c-5088-47c82b4f3206@towo.net> (raw)
In-Reply-To: <17459431.114768.1585357770671@mail.yahoo.com>
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?
next prev parent reply other threads:[~2020-03-28 1:20 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 [this message]
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=857cc1a3-6d8d-582c-5088-47c82b4f3206@towo.net \
--to=towo@towo.net \
--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).