[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] tar bug 1.25 info-script TAR_FD
From: |
Paul Eggert |
Subject: |
Re: [Bug-tar] tar bug 1.25 info-script TAR_FD |
Date: |
Tue, 14 Feb 2012 10:19:15 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0 |
Thanks for the bug report! I installed this patch.
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>.
diff --git a/doc/tar.texi b/doc/tar.texi
index a52b322..3d82d25 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 : '\(.*\)-.*'`