Making bash shell scripts more robust.
Programming a robust Bash script is usually non-trivial. Fortunately, you can refer to bash_bootstrap.sh to bootstrap you Bash script in a right shape. Moreover, you may also leverage bin/bootstrap_sh to further ease the bootstrapping. (See the quick two-step setup here)
This code is under the MIT License.
Please see the Fairy project for concrete use cases of the code in this repository.