diff options
author | Chet Ramey <chet.ramey@case.edu> | 2014-03-07 16:11:28 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2014-03-07 16:11:28 -0500 |
commit | 15baad6212e659432176d7b69ee9eae30473a914 (patch) | |
tree | 951b99ecaa5657eb83ed2de4532f9b593a502649 /doc/bash.0 | |
parent | df8375c37c241d6bad23d5c3af5c4233e363b7d5 (diff) | |
download | bash-15baad6212e659432176d7b69ee9eae30473a914.tar.gz |
commit bash-20140228 snapshot
Diffstat (limited to 'doc/bash.0')
-rw-r--r-- | doc/bash.0 | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -4294,16 +4294,18 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS in a function, ddeeccllaarree and ttyyppeesseett make each _n_a_m_e local, as with the llooccaall command, unless the --gg option is supplied. If a vari- able name is followed by =_v_a_l_u_e, the value of the variable is - set to _v_a_l_u_e. The return value is 0 unless an invalid option is - encountered, an attempt is made to define a function using ``-f - foo=bar'', an attempt is made to assign a value to a readonly - variable, an attempt is made to assign a value to an array vari- - able without using the compound assignment syntax (see AArrrraayyss - above), one of the _n_a_m_e_s is not a valid shell variable name, an - attempt is made to turn off readonly status for a readonly vari- - able, an attempt is made to turn off array status for an array - variable, or an attempt is made to display a non-existent func- - tion with --ff. + set to _v_a_l_u_e. When using --aa or --AA and the compound assignment + syntax to create array variables, additional attributes do not + take effect until subsequent assignments. The return value is 0 + unless an invalid option is encountered, an attempt is made to + define a function using ``-f foo=bar'', an attempt is made to + assign a value to a readonly variable, an attempt is made to + assign a value to an array variable without using the compound + assignment syntax (see AArrrraayyss above), one of the _n_a_m_e_s is not a + valid shell variable name, an attempt is made to turn off read- + only status for a readonly variable, an attempt is made to turn + off array status for an array variable, or an attempt is made to + display a non-existent function with --ff. ddiirrss [[--ccllppvv]] [[++_n]] [[--_n]] Without options, displays the list of currently remembered |