summaryrefslogtreecommitdiffstats
path: root/Doc/Zsh/redirect.yo
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-07-10 08:59:17 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-07-10 08:59:17 +0000
commit5fcfa125bd4f0006c8207d1652908348f3ea526f (patch)
treeae808a9b4f71468b25760567bee9bb9e9a8cd813 /Doc/Zsh/redirect.yo
parentremove not only numeric suffixes, but also `.n' and the like (15352) (diff)
downloadzsh-5fcfa125bd4f0006c8207d1652908348f3ea526f.tar
zsh-5fcfa125bd4f0006c8207d1652908348f3ea526f.tar.gz
zsh-5fcfa125bd4f0006c8207d1652908348f3ea526f.tar.bz2
zsh-5fcfa125bd4f0006c8207d1652908348f3ea526f.tar.lz
zsh-5fcfa125bd4f0006c8207d1652908348f3ea526f.tar.xz
zsh-5fcfa125bd4f0006c8207d1652908348f3ea526f.tar.zst
zsh-5fcfa125bd4f0006c8207d1652908348f3ea526f.zip
Better indexing and misc. cleanup in the first tenth or so of the doc.
Diffstat (limited to 'Doc/Zsh/redirect.yo')
-rw-r--r--Doc/Zsh/redirect.yo9
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/Zsh/redirect.yo b/Doc/Zsh/redirect.yo
index d65dc133d..308e85ae2 100644
--- a/Doc/Zsh/redirect.yo
+++ b/Doc/Zsh/redirect.yo
@@ -139,6 +139,7 @@ file descriptor 2 would be associated
with the terminal (assuming file descriptor 1 had been)
and then file descriptor 1 would be associated with file var(fname).
sect(Multios)
+cindex(multios)
pindex(MULTIOS, use of)
If the user tries to open a file descriptor for writing more than once,
the shell opens the file descriptor as a pipe to a process that copies
@@ -196,22 +197,22 @@ example(echo foo > bar > baz)
when tt(MULTIOS) is unset will truncate bar, and write `tt(foo)' into baz.
sect(Redirections with no command)
-vindex(NULLCMD, use of)
-vindex(READNULLCMD, use of)
-pindex(CSH_NULLCMD, use of)
-pindex(SH_NULLCMD, use of)
When a simple command consists of one or more redirection operators
and zero or more parameter assignments, but no command name, zsh can
behave in several ways.
+vindex(NULLCMD, use of)
+pindex(CSH_NULLCMD, use of)
If the parameter tt(NULLCMD) is not set or the option tt(CSH_NULLCMD) is
set, an error is caused. This is the bf(csh) behavior and tt(CSH_NULLCMD)
is set by default when emulating bf(csh).
+pindex(SH_NULLCMD, use of)
If the option tt(SH_NULLCMD) is set, the builtin `tt(:)' is inserted as a
command with the given redirections. This is the default when emulating
bf(sh) or bf(ksh).
+vindex(READNULLCMD, use of)
Otherwise, if the parameter tt(NULLCMD) is set, its value will be used as a
command with the given redirections. If both tt(NULLCMD) and
tt(READNULLCMD) are set, then the value of the latter will be used instead