]> Dogcows Code - chaz/tar/commitdiff
doc: suggest Bash for large-fd script
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Feb 2012 18:18:07 +0000 (10:18 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Feb 2012 18:18:30 +0000 (10:18 -0800)
* doc/tar.texi (Multi-Volume Archives): Suggest Bash for shell
script that might use >&10.  Problem reported by Edward F Eaglehouse in
<http://lists.gnu.org/archive/html/bug-tar/2012-02/msg00002.html>.

doc/tar.texi

index a52b32294786003b005c1e86892fe6f8fc288dd4..3d82d25cea00e4d6e729d75cdb874fdb1e79402d 100644 (file)
@@ -11435,7 +11435,10 @@ archive being created (as given by @option{--file} option) and
 
 @smallexample
 @group
-#! /bin/sh
+#! /bin/bash
+# For this script it's advisable to use a shell, such as Bash,
+# that supports a TAR_FD value greater than 9.
+
 echo Preparing volume $TAR_VOLUME of $TAR_ARCHIVE.
 
 name=`expr $TAR_ARCHIVE : '\(.*\)-.*'`
This page took 0.028635 seconds and 4 git commands to generate.