Learn Tiny Core. View Tiny Core Screen Shots and Videos.
calc 'sqrt(2)'
#!/bin/shif [ -z ${1} ]; then echo echo " -=[ Simple Awk Calculator ]=-" echo "Put formula in quotes (single or double) examples:" echo "calc '3*4'" echo "calc 'sqrt(9)'" exit 0fiawk "BEGIN{ print $* }"
Just realized this is RPi and I don't know if calc is included. Here are the contents of the script: