about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-06-14 09:49:01 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-06-14 09:49:01 +0000
commitd247b7f14664f234802bdc2c205ad510e4e400d4 (patch)
treeb93c30ab897f2bde4ac0f799e65ffab870cec2b9 /Doc/Zsh
parenta5a5aa4e3e43d3e83a5aa8770f9170ea6ace6e32 (diff)
downloadzsh-d247b7f14664f234802bdc2c205ad510e4e400d4.tar.gz
zsh-d247b7f14664f234802bdc2c205ad510e4e400d4.tar.xz
zsh-d247b7f14664f234802bdc2c205ad510e4e400d4.zip
$* and $@ are special
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/builtins.yo4
-rw-r--r--Doc/Zsh/params.yo8
2 files changed, 8 insertions, 4 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index fbea91ee2..a65af889e 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -1192,7 +1192,9 @@ Convert the result to lower case whenever the parameter is expanded.
 The value is em(not) converted when assigned.
 )
 item(tt(-r))(
-The given var(name)s are marked readonly.
+The given var(name)s are marked readonly.  Note that if var(name) is a
+special parameter, the readonly attribute can be turned on, but cannot then
+be turned off.
 )
 item(tt(-t))(
 Tags the named parameters.  Tags have no special meaning to the shell.
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index 194c475e7..5a9c72ace 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -31,9 +31,11 @@ for complete details.
 
 In the parameter lists that follow, the mark `<S>' indicates that the
 parameter is special.
-Special parameters cannot have their type changed, and they stay special even
-if unset.  `<Z>' indicates that the parameter does not exist when the shell
-initializes in tt(sh) or tt(ksh) emulation mode.
+Special parameters cannot have their type changed or their
+readonly attribute turned off, and if a special parameter is unset, then
+later recreated, the special properties will be retained.  `<Z>' indicates
+that the parameter does not exist when the shell initializes in tt(sh) or
+tt(ksh) emulation mode.
 startmenu()
 menu(Array Parameters)
 menu(Positional Parameters)