Compatibility with a number of other bourne-likes

by the majesty of these curly braces i offer you compatibility with other bourne-like shells, such as `mksh(1)` and `bash(1)`.
it's not posix compat, so no `dash(1)`.