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 and

minor: the function itself should be changed to use the builtin 'case' instead of the bashims [[ ... ]]

parent gforce_de 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton