I know that Bash and Zsh support local variables, but there are systems only have POSIX-compatible shells. And local is undefined in POSIX shells.
So I want to ask which shells support local keyword for defining local variables?
Edit: About shells I mean the default /bin/sh shell.Edit: About shells I mean the default /bin/sh shell.