3 ms·
It's not just bash, this is true for all POSIX shells (including dash, bash, ksh, and so on). If you're doing a lot of complex calculations, shells are the wro
by dwheeler 7y ago
It's not just bash, this is true for all POSIX shells (including dash, bash, ksh, and so on).
If you're doing a lot of complex calculations, shells are the wrong tool for the job. But if it's a relatively small program whose primary task is invoking other programs on a Unix-like system, shells are still a decent choice. The biggest problems with shells are handled by using shellcheck, so if you're writing shell scripts, use shellcheck.