Although it's a Bash FAQ, the point also applies to POSIX-compatible shells: https://mywiki.wooledge.org/BashFAQ/082