[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mistake in the man tar output , tar --version 1.30
From: |
Bob Proulx |
Subject: |
Re: mistake in the man tar output , tar --version 1.30 |
Date: |
Thu, 11 Feb 2021 22:43:10 -0700 |
george doumas wrote:
> DESCRIPTION Option styles
> The following command, written in the traditional style, instructs tar to
> store all files from the directory /etc into the archivefile etc.tar
> verbosely listing the files being archived:
>
> tar cfv a.tar /etc
>
> The above command has a mistake. Instead you should say :
> The following command, written in the traditional style, instructs tar to
> store all files from the directory /etc into the archive file etc.tar
> verbosely listing the files being archived:
>
> tar cfv etc.tar /etc
Thank you for your bug report! You are correct. That is a typo in
the man page in versions up through 1.31.
This has fixed by the following commit. When you upgrade to the next
version you should see the fix.
https://git.savannah.gnu.org/cgit/tar.git/commit/doc/tar.1?id=b0930da045d4dc9750097876f0a3f672dc99ad11
Thank you for your report! Many eyes finds all bugs. :-)
Bob
commit b0930da045d4dc9750097876f0a3f672dc99ad11
Author: Sergey Poznyakoff <gray@gnu.org>
Date: Mon Jan 14 12:48:16 2019 +0200
Fix typo in manpage.
diff --git a/doc/tar.1 b/doc/tar.1
index 6602334..0ff1d53 100644
--- a/doc/tar.1
+++ b/doc/tar.1
@@ -13,7 +13,7 @@
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program. If not, see <http://www.gnu.org/licenses/>.
-.TH TAR 1 "May 16, 2018" "TAR" "GNU TAR Manual"
+.TH TAR 1 "January 14, 2019" "TAR" "GNU TAR Manual"
.SH NAME
tar \- an archiving utility
.SH SYNOPSIS
@@ -111,7 +111,7 @@ into the archive file
verbosely listing the files being archived:
.PP
.EX
-.B tar cfv a.tar /etc
+.B tar cfv etc.tar /etc
.EE
.PP
In
@@ -133,9 +133,9 @@ The example command above written in the
could look like:
.PP
.EX
-.B tar -cvf a.tar /etc
+.B tar -cvf etc.tar /etc
or
-.B tar -c -v -f a.tar /etc
+.B tar -c -v -f etc.tar /etc
.EE
.PP
In
@@ -152,11 +152,11 @@ method.
Here are several ways of writing the example command in this style:
.PP
.EX
-.B tar --create --file a.tar --verbose /etc
+.B tar --create --file etc.tar --verbose /etc
.EE
or (abbreviating some options):
.EX
-.B tar --cre --file=a.tar --verb /etc
+.B tar --cre --file=etc.tar --verb /etc
.EE
.PP
The options in all three styles can be intermixed, although doing so