I need to convert some javascript calculations to bash, and I am wondering if there is an equivalent function of javascript Math.min() in bash, bc or any other calculator in the shell?
Is there an equivalent of javascript Math.min() in bash/bc etc.?
bash;osx;bc