I have bash script and it requires bash.
Another person try to run it with
sh script_name.sh
And it fails because sh is symbolic link to dash in his distribution.
$ ls -la /bin/sh
lrwxrwxrwx 1 root root 4 Aug 25 16:06 /bin/sh -> dash
I have an idea to use wrapper script:
#!/bin/sh
bash script_name.sh
The goal is to run .sh script by sh with bash in system having symbolic link to dash.