mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-03 18:30:49 +02:00
commit bash-20111021 snapshot
This commit is contained in:
+4
-1
@@ -3219,9 +3219,12 @@ being executed with the @code{.} (@code{source}) builtin,
|
||||
returning either @var{n} or
|
||||
the exit status of the last command executed within the script as the exit
|
||||
status of the script.
|
||||
If @var{n} is supplied, the return value is its least significant
|
||||
8 bits.
|
||||
Any command associated with the @code{RETURN} trap is executed
|
||||
before execution resumes after the function or script.
|
||||
The return status is non-zero if @code{return} is used outside a function
|
||||
The return status is non-zero if @code{return} is supplied a non-numeric
|
||||
argument or is used outside a function
|
||||
and not during the execution of a script by @code{.} or @code{source}.
|
||||
|
||||
@item shift
|
||||
|
||||
Reference in New Issue
Block a user