summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-10-20 13:53:45 +0200
committerJim Meyering <meyering@redhat.com>2007-10-20 13:53:45 +0200
commita34bea4976bae29b1519bc2852fb87f64a1295cf (patch)
treef96649724ff6cf5f999bb8989dd2dde3ad6a1fbd /doc
parent4319cbc0a131a63c7f1adbc21c617e767d525b12 (diff)
downloadcoreutils-a34bea4976bae29b1519bc2852fb87f64a1295cf.tar.xz
* doc/coreutils.texi: Add a cross-reference to bashref's Process Substitution node.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index c729b2265..aa25fcd08 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -11085,9 +11085,12 @@ but also to a pipe running @command{sha1sum} and saving the final
checksum in a file named @file{dvd.sha1}.
Note, however, that this example relies on a feature of modern shells
-called process substitution (the @samp{>(command)} syntax, above),
-so it works with e.g., @command{zsh}, @command{bash}, or @command{ksh},
-but not with a minimal @command{/bin/sh}. So if you use this technique
+called @dfn{process substitution}
+(the @samp{>(command)} syntax, above;
+@xref{Process Substitution,,Process Substitution, bashref,
+The Bash Reference Manual}.),
+so it works with @command{zsh}, @command{bash}, and @command{ksh},
+but not with @command{/bin/sh}. So if you write code like this
in a shell script, be sure to start the script with @samp{#!/bin/bash}.
You can extend this example to make @command{tee} write to two processes,