A collection of useful shell (bash) functions for robust and advanced scripts