241 ms·
No, this will remove 'var_is_not_set_so_please_fix_this_script' file if one exists. If you're suggesting using parameter expansion, at least suggest the correc
by rjcz 11y ago
No, this will remove 'var_is_not_set_so_please_fix_this_script' file if one exists.
If you're suggesting using parameter expansion, at least suggest the correct one (i.e. one that will give a meaningful error message):
${parameter:?word}
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02 http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3...
- emmelaich 11y agoYep, better. Thanks.