I believe the #!/bin/sh shebang translates into something other than bash (mine, for example, a standard Ubuntu Server, defaults to dash).
Since the script seems to work on bash only, why not specify bash there? (Maybe it works with zsh? I don't know, but I believe bash is still pre-installed in all linuxes out there.)
I believe the
#!/bin/sh
shebang translates into something other thanbash
(mine, for example, a standard Ubuntu Server, defaults todash
).Since the script seems to work on
bash
only, why not specifybash
there? (Maybe it works withzsh
? I don't know, but I believebash
is still pre-installed in all linuxes out there.)