summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-02-14 10:18:07 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-02-14 10:18:30 -0800
commit8c75b1387a33fdbf3cbc8ba8bfa0ab1851d30894 (patch)
treea7a0fed65b358d8c5705fd0af4c837fe48dca358 /doc
parentdebc485626c0c143731b0ca229d18b48085bb2ef (diff)
downloadtar-8c75b1387a33fdbf3cbc8ba8bfa0ab1851d30894.tar.gz
doc: suggest Bash for large-fd script
* 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>.
Diffstat (limited to 'doc')
-rw-r--r--doc/tar.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/tar.texi b/doc/tar.texi
index a52b3229..3d82d25c 100644
--- a/doc/tar.texi
+++ b/doc/tar.texi
@@ -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 : '\(.*\)-.*'`