* [PATCH] Clarify named references doc RE "for" loops
@ 2023-03-11 21:09 Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2023-03-11 21:09 UTC (permalink / raw)
To: Zsh hackers list
[-- Attachment #1: Type: text/plain, Size: 105 bytes --]
Oops, forgot to label the preceding message as a patch.
Almost didn't bother to do a post for this one.
[-- Attachment #2: zsh_2023-03-11_p2.txt --]
[-- Type: text/plain, Size: 653 bytes --]
diff --git a/Doc/Zsh/grammar.yo b/Doc/Zsh/grammar.yo
index 1b834f41a..915b93bc0 100644
@@ -190,6 +190,9 @@ use the positional parameters instead of the var(word)s.
If any var(name) has been declared as a named reference,
the corresponding var(word) is treated as the name of a
parameter and var(name) is made a reference to that.
+Note that for the positional parameters, this treats the
+value of each positional as parameter name rather than
+creating a reference to the position.
The var(term) consists of one or more newline or tt(;)
which terminate the var(word)s, and are optional when the
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-11 21:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-11 21:09 [PATCH] Clarify named references doc RE "for" loops Bart Schaefer
Code repositories for project(s) associated with this public inbox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).