mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-07 10:42:28 +02:00
commit bash-20200807 snapshot
This commit is contained in:
+8
-6
@@ -5090,11 +5090,13 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS
|
||||
is made local to the function in which llooccaall is invoked: shell
|
||||
options changed using the sseett builtin inside the function are
|
||||
restored to their original values when the function returns.
|
||||
With no operands, llooccaall writes a list of local variables to the
|
||||
standard output. It is an error to use llooccaall when not within a
|
||||
function. The return status is 0 unless llooccaall is used outside a
|
||||
function, an invalid _n_a_m_e is supplied, or _n_a_m_e is a readonly
|
||||
variable.
|
||||
The restore is effected as if a series of sseett commands were exe-
|
||||
cuted to restore the values that were in place before the func-
|
||||
tion. With no operands, llooccaall writes a list of local variables
|
||||
to the standard output. It is an error to use llooccaall when not
|
||||
within a function. The return status is 0 unless llooccaall is used
|
||||
outside a function, an invalid _n_a_m_e is supplied, or _n_a_m_e is a
|
||||
readonly variable.
|
||||
|
||||
llooggoouutt Exit a login shell.
|
||||
|
||||
@@ -6399,4 +6401,4 @@ BBUUGGSS
|
||||
|
||||
|
||||
|
||||
GNU Bash 5.1 2020 June 16 BASH(1)
|
||||
GNU Bash 5.1 2020 August 3 BASH(1)
|
||||
|
||||
Reference in New Issue
Block a user