Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [[ and [
On Wed, 7 Mar 2012 10:52:36 +0200
Nadav Har'El <nyh@xxxxxxxxxxxxxxxxxxx> wrote:
> The zsh manual does not state that "-eq" and the rest are obsolete (in
> Conditional Expressions), but maybe it should:
Actually, I don't consider them obsolete. I prefer
[[ $n -gt 1 && $m == foo ]]
to the rather cluttered
(( n > 1 )) && [[ $m == foo ]]
There's no gain in us getting rid of them anyway, so declaring them
obsolete is confusing people (we've had this with similar features
there's no point in removing).
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog
Messages sorted by:
Reverse Date,
Date,
Thread,
Author