From: Jim Meyering Date: Sat, 20 Oct 2007 11:53:45 +0000 (+0200) Subject: * doc/coreutils.texi: Add a cross-reference to bashref's Process Substitution node. X-Git-Tag: v6.9.89~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a34bea4976bae29b1519bc2852fb87f64a1295cf;p=thirdparty%2Fcoreutils.git * doc/coreutils.texi: Add a cross-reference to bashref's Process Substitution node. --- diff --git a/ChangeLog b/ChangeLog index 85d2ed260e..cf4a0add9e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2007-10-20 Jim Meyering * doc/coreutils.texi (tee invocation): Fix typo. Add a little. + Add a cross-reference to bashref's Process Substitution node. Adjust tests to pass, now that Test.pm ones use check.mk. * tests/check.mk (vc_exe_in_TESTS): Adjust regexp not to match the diff --git a/doc/coreutils.texi b/doc/coreutils.texi index c729b2265b..aa25fcd080 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,