From: Bart Schaefer <schaefer@zanshin.com>
To: zsh-workers@sunsite.dk
Subject: More POSIX developments
Date: Fri, 24 Sep 2004 19:08:46 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.61.0409241908380.1714@toltec.zanshin.com> (raw)
According to today's minutes of the yesterday's austin-group teleconf:
-----
It was agreed so far that
test asdf -ge 0
is a syntax error and is expected to return something greater than 1
-----
In zsh's builtin test, of course, "asdf -ge 0" is interpreted in math
context, and is equivalent to (( asdf >= 0 )) and thus to "$asdf -ge 0".
The (( )) form is still considered OK, but the test -ge form is (or soon
will be) required to fail.
Yet another case where "emulate posix" might be useful. An idea that
occurs to me is that we could introduce hidden options, that is, having
no name that could be referenced via "setopt" but that are switched on
and off in groups, only via "emulate".
next reply other threads:[~2004-09-25 2:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-25 2:08 Bart Schaefer [this message]
2004-09-27 11:04 ` Peter Stephenson
2004-10-02 21:23 ` Bart Schaefer
2004-10-04 10:23 ` Peter Stephenson
2004-10-04 10:49 ` Oliver Kiddle
2004-10-25 16:05 ` 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.LNX.4.61.0409241908380.1714@toltec.zanshin.com \
--to=schaefer@zanshin.com \
--cc=zsh-workers@sunsite.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).