s/bash/zsh/g

from blog arp242.net, | ↗ original
↗ original
You would expect this to work, no? bash% echo $(( .1 + .2 )) bash: .1 + .2 : syntax error: operand expected (error token is ".1 + .2 ") Well, bash says no, but zsh just works: zsh% echo $(( .1 + .2 )) 0.30000000000000004 # Well, "works" insofar IEEE-754 works. There is simply no way you can do calculations with fractions in bash without...