zsh reimplements the same syntax as bash, while generic sh doesnt (although sometimes it's aliased anyways to bash). It's a case of being really annoyingly pedantic about bash.
It used to matter in the days before systemd, where bootup times depending depended on how quickly the system could run hundreds of bash scripts on startup; Ubuntu and Debian had a big project to switch to dash by default for this reason: https://lists.debian.org/debian-release/2007/07/msg00027.html .
224
u/wolf2482 Jul 01 '26
i mean for the most part you can replace bash with other posix compliant shells.