diff options
author | merakor <cem@ckyln.com> | 2020-05-25 20:21:13 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-05-25 20:21:13 +0000 |
commit | 4f4a57bbe614b5f589d34aa864d719e107466141 (patch) | |
tree | 1a3633be43a43a01c5c13963d79df554f7022565 | |
parent | 6295a9e619865ddd677c8677fce8cc2b405c9450 (diff) | |
download | cpt-4f4a57bbe614b5f589d34aa864d719e107466141.tar.gz |
kiss: enable the usage of glob characters with kiss-bin
FossilOrigin-Name: 7d9a317d070b75d1736fca0ee433bd0dbfbcd320c0cd379df68ad615a27c691a
-rwxr-xr-x | kiss | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1369,10 +1369,11 @@ args() { # # This handles the globbing characters '*', '!', '[' and ']' as per: # https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html - [ "${action##[as]*}" ] && + case "$action" in a|alternatives|s|search|bin) ;; *) case $* in *\**|*\!*|*\[*|*\]*) die "Arguments contain invalid characters: '!*[]'" esac + esac # Parse some arguments earlier to remove the need to duplicate code. case $action in |