Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Other typeset doc things
- X-seq: zsh-workers 37845
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Other typeset doc things
- Date: Sat, 30 Jan 2016 13:12:32 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:to:subject:mime-version:content-type; bh=Ffq/uWS4oiMVLiFIFC0+kPKNqFk2bmUlNerQWJKw6kc=; b=ckss8XKL/YDuY5SHcycBNKD2Hccd4rpq62C5cveYktNRacjS7GqszyiGnOVzyg6bVA HvecqNvq3/75QO/3dgK0Hcok77aSIUigSIMFttslaKEgvwWAyytujTBk9BwD/iV6eCJ3 oBIFwmQA3O2meHL/0lZEDl4RNBpMeEuoNDOY7gZ3Z62dPlPIEjMjJ+drIDStAEHAOEt5 kELcjE4D9TWzN9cJPGcye/ewoB+c9IfmT8HSRdLfzpRjhPVeo+tLIb0srKRuJkVNrfp8 q+MNNeu29Lee5N9TjNFyP3OnVnkIhsKj92/K4h5Cd+7qzdEnwWNUuuDxWaR3OjwL3avc 2mhA==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Forward-reference instances where no parameter is created, and remove the
statement about array assignments separated from typeset command on -p.
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 365f8e1..542cecf 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -1753,7 +1753,8 @@ xitem(SPACES()[ tt(+) | var(SCALAR)[tt(=)var(value)] var(array)[tt(=LPAR())var(v
item(tt(typeset) tt(-f) [ {tt(PLUS())|tt(-)}tt(TUkmtuz) ] [ tt(+) ] [ var(name) ... ])(
Set or display attributes and values for shell parameters.
-A parameter is created for each var(name) that does not already refer
+Except as noted below for control flags that change the behavior,
+a parameter is created for each var(name) that does not already refer
to one. When inside a function, a new parameter is created for every
var(name) (even those that already exist), and is unset again when the
function completes. See
@@ -1909,8 +1910,7 @@ does not.
)
item(tt(-p))(
If the tt(-p) option is given, parameters and values are printed in the
-form of a typeset command and an assignment (which will be printed
-separately for arrays and associative arrays), regardless of other flags
+form of a typeset command with an assignment, regardless of other flags
and options. Note that the tt(-H) flag on parameters is respected; no
value will be shown for these parameters.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author