diff options
-rwxr-xr-x | kiss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1189,7 +1189,7 @@ args() { # # This handles the globbing characters '*', '!', '[' and ']' as per: # https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html - [ "${action#[as]*}" ] && + [ "${action##[as]*}" ] && case $@ in *'*'*|*'!'*|*'['*|*']'*) die "Arguments contain invalid characters: '!*[]'" esac |