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

Re: [[ and [



>  But people who read the manual can be told that there is a
> newer alternative, namely ((.

They should also be very aware that (( 0 )) returns false and
(( "not 0" )) returns true. Try it:

(( 0 )) && echo foobar



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