summary refs log tree commit diff
path: root/Doc/Zsh/builtins.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-08-06 19:51:04 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-08-06 19:51:04 +0000
commitc4f33330f6797d0c199abf522f79c3ccac88ed55 (patch)
treede3b9cbfb26c313b774a3df1b63c8191dcebc775 /Doc/Zsh/builtins.yo
parentd026334a3b25a2150d59a3f53a20d39ddb96ab56 (diff)
downloadzsh-c4f33330f6797d0c199abf522f79c3ccac88ed55.tar.gz
zsh-c4f33330f6797d0c199abf522f79c3ccac88ed55.tar.xz
zsh-c4f33330f6797d0c199abf522f79c3ccac88ed55.zip
25409: fix eval's use of lastval
Diffstat (limited to 'Doc/Zsh/builtins.yo')
-rw-r--r--Doc/Zsh/builtins.yo5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index d7e3526cb..bcd03be98 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -382,7 +382,10 @@ findex(eval)
 cindex(evaluating arguments as commands)
 item(tt(eval) [ var(arg) ... ])(
 Read the arguments as input to the shell and execute the resulting
-command in the current shell process.
+command(s) in the current shell process.  The return status is the
+same as if the commands had been executed directly by the shell;
+if there are no var(args) or they contain no commands (i.e. are
+an empty string or whitespace) the return status is zero.
 )
 item(tt(exec) [ tt(-cl) ] [ tt(-a) var(argv0) ] var(simple command))(
 Replace the current shell with an external command rather than forking.