I have defined the following Bash function:
%a%() { echo hello; }
I can confirm the function is really defined:
$ declare -f %a%
%a% ()
{
echo hello
}
How do I call it? Because when I do, then:
$ %a%
-bash: fg: %a%: no such job
$ set +m
$ %a%
-bash: fg: no job control