As a bash script actually, not a (implied POSIX) shell script. Do not mix these two.
Why would POSIX be implied in any way? I mainly use windows, should I have been upset because I thought cmd or powershell was implied?
They seem to have gone through some effort for this to be true.