diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2000-08-29 06:35:39 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2000-08-29 06:35:39 +0000 |
commit | 968c9f5f9952f24c322fc638c4af73c2d9a58dd5 (patch) | |
tree | d1c078dbf9f60c7689f429b3dc2efb9f8e94af5e /Doc/Zsh/builtins.yo | |
parent | a8c7d3c0ee5eb1d4a83c86f68b5d22f9e44c6b3b (diff) | |
download | zsh-968c9f5f9952f24c322fc638c4af73c2d9a58dd5.tar.gz zsh-968c9f5f9952f24c322fc638c4af73c2d9a58dd5.tar.xz zsh-968c9f5f9952f24c322fc638c4af73c2d9a58dd5.zip |
12716: Document and index REPLY/reply paramters properly.
Diffstat (limited to 'Doc/Zsh/builtins.yo')
-rw-r--r-- | Doc/Zsh/builtins.yo | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 3f9aa398f..f11b2e981 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -752,11 +752,15 @@ findex(read) vindex(IFS, use of) item(tt(read) [ tt(-rzpqAclneEt) ] [ tt(-k) [ var(num) ] ] \ [ tt(-u)var(n) ] [ var(name)[tt(?)var(prompt)] ] [ var(name) ... ])( +vindex(REPLY, use of) +vindex(reply, use of) Read one line and break it into fields using the characters in tt($IFS) as separators, except as noted below. The first field is assigned to the first var(name), the second field to the second var(name), etc., with leftover fields assigned to the last var(name). +If var(name) is omitted then +tt(REPLY) is used for scalars and tt(reply) for arrays. startitem() item(tt(-r))( @@ -805,8 +809,7 @@ function used for completion (specified with the tt(-K) flag to tt(compctl)). If the tt(-c) flag is given, the words of the current command are read. If the tt(-l) flag is given, the whole line is assigned as a scalar. If both flags are present, tt(-l) -is used and tt(-c) is ignored. If var(name) is omitted then -tt(REPLY) is used for scalars and tt(reply) for arrays. +is used and tt(-c) is ignored. ) item(tt(-n))( Together with tt(-c), the number of the word the cursor is on is |