about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-06-22 16:46:08 +0100
committerPeter Stephenson <pws@zsh.org>2015-06-22 16:46:08 +0100
commit2a1065a455bae5d8cbc980e6c67bb0bcbffbb12b (patch)
tree5e4b7ca44720bc6089f558bcff286145935eee32
parent5c513aa33f136aebfdb1cb4f25ea18b7cc750f22 (diff)
downloadzsh-2a1065a455bae5d8cbc980e6c67bb0bcbffbb12b.tar.gz
zsh-2a1065a455bae5d8cbc980e6c67bb0bcbffbb12b.tar.xz
zsh-2a1065a455bae5d8cbc980e6c67bb0bcbffbb12b.zip
Further updated to typeset documentation
-rw-r--r--Doc/Zsh/builtins.yo15
1 files changed, 4 insertions, 11 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index aca0439dd..9d0d04903 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -1743,15 +1743,8 @@ ifnzman(noderef(Local Parameters))\
 retain their special attributes when made local.
 
 For each var(name)tt(=)var(value) assignment, the parameter
-var(name) is set to var(value).  Note that arrays currently cannot be
-assigned in tt(typeset) expressions, only scalars and integers.  Unless
-the option tt(KSH_TYPESET) is set, normal expansion rules apply to
-assignment arguments, so var(value) may be split into separate words; if
-the option is set, assignments which can be recognised when expansion is
-performed are treated as single words.  For example the command
-tt(typeset vbl=$(echo one two)) is treated as having one argument if
-tt(KSH_TYPESET) is set, but otherwise is treated as having the two arguments
-tt(vbl=one) and tt(two).
+var(name) is set to var(value).  All forms of the command
+handle scalar assignment.
 
 If the reserved word tt(declare), tt(export), tt(float), tt(integer),
 tt(local), tt(readonly) or tt(typeset) is matched when the line is
@@ -1761,8 +1754,8 @@ as assignments, except that the `tt(+=)' syntax and the tt(GLOB_ASSIGN)
 option are not supported. This has two major differences from normal
 command line argument parsing: array assignment is possible, and scalar
 values after tt(=) are not split further into words even if expanded
-(regardless of the setting of the tt(KSH_TYPESET) option).  Here is an
-example:
+(regardless of the setting of the tt(KSH_TYPESET) option; this option
+is obsolete).  Here is an example:
 
 example(# Reserved word parsing
 typeset svar=$(echo one word) avar=(several words))