mirror of
https://github.com/zsh-users/zsh
synced 2024-09-20 00:11:39 +00:00
23778: document KSH_TYPESET behaviour in typeset manual entry
This commit is contained in:
parent
b37f52b884
commit
34570ca318
|
@ -1,3 +1,8 @@
|
|||
2007-08-18 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 23778: Doc/Zsh/builtins.yo: document KSH_TYPESET behaviour
|
||||
in the typeset manual entry.
|
||||
|
||||
2007-08-18 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 23775: Completion/Unix/Command/_growisofs:
|
||||
|
|
|
@ -1331,7 +1331,14 @@ 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.
|
||||
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).
|
||||
|
||||
If the shell option tt(TYPESET_SILENT) is not set, for each remaining
|
||||
var(name) that refers to a parameter that is set, the name and value of the
|
||||
|
|
Loading…
Reference in a new issue