Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: More POSIX developments
- X-seq: zsh-workers 20444
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: More POSIX developments
- Date: Mon, 04 Oct 2004 12:49:21 +0200
- In-reply-to: <200410041023.i94ANvFc011725@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <Pine.LNX.4.61.0409241908380.1714@xxxxxxxxxxxxxxxxxx> <200409271104.i8RB4URU009112@xxxxxxxxxxxxxx> <Pine.LNX.4.61.0410021419240.25270@xxxxxxxxxxxxxxxxxx> <200410041023.i94ANvFc011725@xxxxxxxxxxxxxx>
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