In the examples, use "tar.gz" as the extension for

gzip-compressed tar archives.

Thanks to: Mike Hunter
This commit is contained in:
Tim Kientzle 2006-05-01 01:34:21 +00:00
parent d3b6573b00
commit 323b71146a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158204

View File

@ -445,16 +445,16 @@ option.
.Sh EXAMPLES
The following creates a new archive
called
.Ar file.tar
.Ar file.tar.gz
that contains two files
.Ar source.c
and
.Ar source.h :
.Dl Nm Fl czf Pa file.tar Pa source.c Pa source.h
.Dl Nm Fl czf Pa file.tar.gz Pa source.c Pa source.h
.Pp
To view a detailed table of contents for this
archive:
.Dl Nm Fl tvf Pa file.tar
.Dl Nm Fl tvf Pa file.tar.gz
.Pp
To extract all entries from the archive on
the default tape drive: