update bash functions nomenclature to compatible with other shell.