ae7c0700dc
In our implementation and most others, a break or continue in a dot script can break or continue a loop outside the dot script. This should cause all further commands in the dot script to be skipped. However, cmdloop() did not know about this and continued to parse and execute commands from the dot script. As described in the man page, a return in a dot script in a function returns from the function, not only from the dot script. There was a similar issue as with break and continue. In various other shells, the return appears to return from the dot script, but POSIX seems not very clear about this. |
||
---|---|---|
.. | ||
builtins | ||
errors | ||
execution | ||
expansion | ||
parameters | ||
parser | ||
set-e | ||
Makefile | ||
regress.sh | ||
regress.t |