Logarithmic Shell Expansion?
I Know There Is ** for Exponentiation in Bash. Is There a Simple Shell Expansion for Logarithms? 1 Answer No. You'll Have to Call out to an External Program. $...
I know there is ** for exponentiation in bash. Is there a simple shell expansion for logarithms?
1 Answer
No. You'll have to call out to an external program.
$ echo 'l(10)' | bc -l
2.30258509299404568401