# exactly one parenthesized subexpression for matching the command name.
_gsu_get_command_regex()
{
- local cmd="${1:-[-a-zA-Z_0-9]+}"
+ local cmd="${1:-[-a-zA-Z_0-9]{1,\}}"
result="^com_($cmd)\(\)"
}
# external commands
for i in $gsu_cmds; do
if test "$arg" = "$i"; then
+ ret=$GSU_SUCCESS
com_$arg "$@"
if (("$ret" < 0)); then
gsu_err_msg