dustinrue/ControlPlane — comment on commit bed1614858a8908146c5acbef8b97e2a82a33aa3
File:  line 0
By junkblocker:

I am having a hard time locating a reference document. I've been doing this for a while now and has become a habit with me to use : . On most systems, /bin/sh is supposed to be a POSIX compliant shell. Even if it is linked to /bin/bash, bash tries to behave in a POSIX compliant way when invoked with a sh name. A sample script (say ./shtest) containing

``sh
:
sleep 60
``

get launched as `sh ./shtest` . A `ps auxwww` in a different terminal confirms that behavior no matter which shell (bash or zsh etc.) invoked the script. But I am hard pressed to find a definitive document now.