Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: arithmetic operator precedence
- X-seq: zsh-workers 25150
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: Re: arithmetic operator precedence
- Date: Thu, 12 Jun 2008 07:47:51 -0700
- In-reply-to: <20080612144024.542b53ad@news01>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080612095723.GF5113@xxxxxxxxxxxxxxx> <20080612144024.542b53ad@news01>
On Jun 12, 2:40pm, Peter Stephenson wrote:
} Subject: Re: arithmetic operator precedence
}
} On Thu, 12 Jun 2008 10:57:23 +0100
} Stephane Chazelas <Stephane_Chazelas@xxxxxxxx> wrote:
} > "==" is meant to have precedence over &, so the above should
} > give 1 as in C I think. All other shells do.
}
} This is a fairly icky incompatibility
What I'm struggling (although not very hard) to remember is why Paul
would have chosen a non-standard precedence in the first place.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author