Bash allows weird funcnames to contain quite a lot of things.
This script, for example; produces a b:
[(){ local IFS=' '; echo -n "$*"; } # shellcheck hangs at this funcdef, while bash funcnames..
[ a && echo b # here we also see shellcheck recgonize && like a syntax keyword; another issue.
Bash allows weird funcnames to contain quite a lot of things.
This script, for example; produces
a b:[(){ local IFS=' '; echo -n "$*"; } # shellcheck hangs at this funcdef, while bash funcnames.. [ a && echo b # here we also see shellcheck recgonize && like a syntax keyword; another issue.