zsh-workers
 help / color / mirror / code / Atom feed
* More POSIX developments
@ 2004-09-25  2:08 Bart Schaefer
  2004-09-27 11:04 ` Peter Stephenson
  0 siblings, 1 reply; 6+ messages in thread
From: Bart Schaefer @ 2004-09-25  2:08 UTC (permalink / raw)
  To: zsh-workers

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".


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-10-25 16:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-25  2:08 More POSIX developments Bart Schaefer
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

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).