3 ms·
> You can't even do math in bash. You shouldn't, certainly, but, as to 'can't', I think that `expr` (or, as I just learned from ABS, `$(( ))`) covers a lot of
by JadeNB 9y ago
> You can't even do math in bash.
You shouldn't, certainly, but, as to 'can't', I think that `expr` (or, as I just learned from ABS, `$(( ))`) covers a lot of basic uses: http://www.tldp.org/LDP/abs/html/arithexp.html http://www.tldp.org/LDP/abs/html/arithexp.html .