4 ms·
I love zsh, but it isn't without its own strange quirks that make compatibility exciting at times. In a thread from a fortnight ago¹, RANDOM is handled very di
by JNRowe 7y ago
I love zsh, but it isn't without its own strange quirks that make compatibility exciting at times. In a thread from a fortnight ago¹, RANDOM is handled very differently for example. Try `echo $(echo $RANDOM) $(echo $RANDOM)` in zsh and bash.
I'm unsure whether minor differences that catch you out occasionally are worse than huge differences that you always have to think about. For me zsh still wins ;)
1. https://news.ycombinator.com/item?id=22841259 https://news.ycombinator.com/item?id=22841259
- tasuki 7y agoWow! Even repeating that call always yields the same result in zsh - as long as it's a subshell. I think your comment will save my sorry ass one day.