How to enforce variable-types in bash?
I’m trying to create an err
function to be used by bash-scripts. The function is supposed to emulate BSD’s err(3)
— printing the specified message and exiting with the code specified as the first argument:
How to enforce variable-types in bash?
I’m trying to create an err
function to be used by bash-scripts. The function is supposed to emulate BSD’s err(3)
— printing the specified message and exiting with the code specified as the first argument: