7 lines
179 B
Text
7 lines
179 B
Text
|
#!/bin/zsh
|
||
|
# Note: this is compatible with `sh`, but because
|
||
|
# `sh` does not handle floats, I'm choosing `zsh`.
|
||
|
|
||
|
# Believe it or not, zsh makes for a fine calculator
|
||
|
echo $(($*))
|