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

Re: if (()){}else{} documented?



> You'd be right because the original version is wrong (unless OP
> *wants* lexicographic comparison and just didn't say so).
> 	% joe(){ [[ $1 > 4 ]] && echo big || echo small }

ohh ... indeed :)

thanks
marc




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