Use “_” instead of “-” as a separator in function names

Bash is now more strict when checking that function names are valid identifiers.