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.
$ echo 'l(10)' | bc -l
2.30258509299404568401 2
I know there is ** for exponentiation in bash. Is there a simple shell expansion for logarithms?
No. You'll have to call out to an external program.
$ echo 'l(10)' | bc -l
2.30258509299404568401 2