Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: More POSIX developments



Peter wrote:

> Before I commit the patch, here's some proposed documentation.
> 
>  item(tt([) [ var(arg) ... ] tt(]))(
>  Like the system version of tt(test).  Added for compatibility;
>  use conditional expressions instead (see noderef(Conditional Expressions)).
> +The main differences are:  this command is not handled syntactically, so for
> +example an empty variable expansion may cause an argument to be omitted;
> +syntax errors cause status 2 to be returned instead of a shell error; and
> +arithmetic operators expect integer arguments rather than arithemetic
> +expressions.

Reading that, it isn't clear whether the differences listed are relative
to "the system version of test" or to Conditional Expressions.

Oliver



Messages sorted by: Reverse Date, Date, Thread, Author