From: "Owen M. Astley" <oma1000@cam.ac.uk>
To: zsh-workers@sunsite.auc.dk
Subject: Re: /bin/zsh -ce 'false; echo bug'
Date: Thu, 26 Aug 1999 09:26:46 +0100 (BST) [thread overview]
Message-ID: <Pine.OSF.3.96.990826091939.27810A-100000@alpha2.poco.phy.cam.ac.uk> (raw)
In-Reply-To: <199908260149.SAA46088@scv4.apple.com>
On Wed, 25 Aug 1999, Matt Watson wrote:
> gnumake-3.74 wants to use "/bin/sh -ce <commandstring>" to exec a sub
> make. Unfortunately if zsh == sh, zsh doesn't grok the -ce as separate
> options, so it ignores the "e" and does not set ERREXIT.
>
> Should it? Has anyone else come across this?
I 'think' that POSIX doesn't allow for options of this type, it should be
written as -c -e <commandstring>. However, I can't remember where I read
that, and as most shells seem to cope with it, it should be done.
Is there any reason why parseargs() doesn't use getopt?
Owen
next prev parent reply other threads:[~1999-08-26 8:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-26 1:49 Matt Watson
1999-08-26 8:26 ` Owen M. Astley [this message]
1999-08-26 18:06 ` Bart Schaefer
1999-08-26 18:36 ` PATCH: " Bart Schaefer
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=Pine.OSF.3.96.990826091939.27810A-100000@alpha2.poco.phy.cam.ac.uk \
--to=oma1000@cam.ac.uk \
--cc=zsh-workers@sunsite.auc.dk \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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 NNTP newsgroup(s).