Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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 .



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: