Comment Comment by gforce_de I see 2 problems here:major: it does not work on POSIX shells, because ':' is not a valid function name andminor: the function itself should be changed to use the builtin 'case' instead of the bashims [[ ... ]] parent gforce_de 4 years ago
major: it does not work on POSIX shells, because ':' is not a valid function name and
minor: the function itself should be changed to use the builtin 'case' instead of the bashims [[ ... ]]