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

Re: arithmetic operator precedence



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