helm/bin/calc.sh

6 lines
67 B
Bash
Raw Normal View History

2016-11-10 12:30:09 -08:00
#!/usr/bin/env bash
bc -l <<< "$@"
# usage:
2016-11-21 20:58:53 -08:00
# calc 25 + 25
2016-11-10 12:30:09 -08:00
# => 50