From owner-man-jp-reviewer@jp.FreeBSD.org Thu May  5 04:15:05 2005
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id j44JF5j72157;
	Thu, 5 May 2005 04:15:05 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from multi.al.rim.or.jp (multi.al.rim.or.jp [202.247.191.124])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id j44JF4X72151
	for <man-jp-reviewer@jp.FreeBSD.org>; Thu, 5 May 2005 04:15:04 +0900 (JST)
	(envelope-from kano@na.rim.or.jp)
Received: from shell.rim.or.jp
	by multi.al.rim.or.jp (3.7W/HMX-12) id EAA00733
	for <man-jp-reviewer@jp.FreeBSD.org>; Thu, 5 May 2005 04:15:03 +0900 (JST)
From: kano@na.rim.or.jp
Received: (from kano_na@localhost)
	by shell.rim.or.jp (8.9.3p2/3.7W/DI-2000071215) id EAA47372;
	Thu, 5 May 2005 04:15:03 +0900 (JST)
	(envelope-from kano_na)
Message-Id: <200505041915.EAA47372@shell.rim.or.jp>
To: man-jp-reviewer@jp.FreeBSD.org
References: <20050429200602.924ECFBE4@kces6.koganemaru.co.jp>
In-Reply-To: <20050429200602.924ECFBE4@kces6.koganemaru.co.jp>
Reply-To: man-jp-reviewer@jp.FreeBSD.org
Precedence: list
Date: Thu, 5 May 2005 04:15:03 +0900
X-Sequence: man-jp-reviewer 4765
Subject: [man-jp-reviewer 4765] bsdtar.1
Sender: owner-man-jp-reviewer@jp.FreeBSD.org
X-Originator: kano@na.rim.or.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+050320

bsdtar.1 $B$r$*Aw$j$7$^$9!#(B

CVS $B%j%]%8%H%j$K$OF~$C$F$$$^$;$s$,!"EOJU$5$s$,K]Lu$5$l$?$b$N(B
http://home.jp.freebsd.org/cgi-bin/showmail/man-jp-reviewer/4634
$B$r(B 5.3R $BAjEv$K$7$?$b$N(B ( rev. 1.20.2.1 $B%Y!<%9(B)
http://www.na.rim.or.jp/%7Ekano/bsdtar.1_1.20.2.1_ja
$B$r>.6b4]$5$s$+$i$$$?$@$$$?$N$G!"$3$l$r85$K=$@5$7$^$7$?!#(B

$B$J$*!"F|K\8lLu$NA4J8$r(B
http://www.na.rim.or.jp/%7Ekano/bsdtar.1_1.20.2.2_ja
$B$K!"(B5.3R $BAjEv$NF|K\8lLu$H$N:9J,$r(B
http://www.na.rim.or.jp/%7Ekano/bsdtar-diff-ja.txt
$B$K!"$3$l$KBP1~$9$k86J8$N:9J,$r(B
http://www.na.rim.or.jp/%7Ekano/bsdtar-diff-en.txt
$B$KCV$$$F$"$j$^$9!#(B

$B86J8$G$NJQ99E@$O!"FbMF$N=g=x$NJQ99$H!"(B
``.Sh DIAGNOSTICS'' $B$+$i(B ``.Sh EXIT STATUS'' $B$X$NJQ99$N$_$G$9!#(B

$BF|K\8lLu$G$O!"$3$l$K9g$o$;$?JQ99$N$[$+!"(B
http://home.jp.freebsd.org/cgi-bin/showmail/man-jp-reviewer/4635
$B$NH?1G$H!"$o$+$j$E$i$$$H46$8$?J8>O$N=$@5$r9T$J$$$^$7$?!#(B

--- bsdtar.1.orig	Fri Feb 25 23:27:37 2005
+++ bsdtar.1	Thu May  5 04:09:30 2005
@@ -22,15 +22,16 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/usr.bin/tar/bsdtar.1,v 1.20.2.2 2005/02/25 05:14:42 kientzle Exp $
+.\" %FreeBSD: src/usr.bin/tar/bsdtar.1,v 1.20.2.2 2005/02/25 05:14:42 kientzle Exp %
 .\"
+.\" $FreeBSD$
 .Dd April 13, 2004
 .Dt BSDTAR 1
 .Os
-.Sh NAME
+.Sh $BL>>N(B
 .Nm tar
-.Nd manipulate tape archives
-.Sh SYNOPSIS
+.Nd $B%F!<%W%"!<%+%$%V$rA`:n$9$k(B
+.Sh $B=q<0(B
 .Nm
 .Op Ar bundled-flags Ao args Ac
 .Op Ao Ar file Ac | Ao Ar pattern Ac ...
@@ -47,514 +48,497 @@
 .Brq Fl t | Fl x
 .Op Ar options
 .Op Ar patterns
-.Sh DESCRIPTION
+.Sh $B2r@b(B
 .Nm
-creates and manipulates streaming archive files.
+$B$O%"!<%+%$%V%U%!%$%k%9%H%j!<%`$N:n@.$HA`:n$r$7$^$9!#(B
 .Pp
-The first synopsis form shows a
-.Dq bundled
-option word.
-This usage is provided for compatibility with historical implementations.
-See COMPATIBILITY below for details.
+$B:G=i$N=q<0%U%)!<%`$G$O(B
+.Dq $B$^$H$a(B
+(bundled)
+$B%*%W%7%g%s7A<0$rI=$7$F$$$^$9!#(B
+$B$3$N;HMQK!$O!"$3$l$^$G$N<BAu$H$N8_49@-$N$?$a$KDs6!$5$l$F$$$^$9!#(B
+$B>\:Y$O8e=R$N!V8_49@-!W$r;2>H$7$F$/$@$5$$!#(B
 .Pp
-The other synopsis forms show the preferred usage.
-The first option to
+$B$=$NB>$N=q<0%U%)!<%`$,!"9%$^$7$$;HMQK!$rI=$7$F$$$^$9!#(B
 .Nm
-is a mode indicator from the following list:
+$B$X$N:G=i$N%*%W%7%g%s$O!"<!$N0lMw$K$"$k%b!<%I$N;X<($G$9(B:
 .Bl -tag -compact -width indent
 .It Fl c
-Create a new archive containing the specified items.
+$B;XDj$5$l$?%"%$%F%`$r4^$s$@!"?7$7$$%"!<%+%$%V$r:n@.$7$^$9!#(B
 .It Fl r
-Like
-.Fl c ,
-but new entries are appended to the archive.
-Note that this only works on uncompressed archives stored in regular files.
-The
+.Fl c
+$B$H;w$F$$$^$9$,!"?7$7$$%(%s%H%j$O%"!<%+%$%V$KDI2C$5$l$^$9!#(B
+$B$J$*$3$l$ODL>o%U%!%$%k$NHs05=L%"!<%+%$%V$KBP$7$F$N$_F0:n$7$^$9!#(B
 .Fl f
-option is required.
+$B%*%W%7%g%s$,I,MW$G$9!#(B
 .It Fl t
-List archive contents to stdout.
+$BI8=`=PNO$K%"!<%+%$%VFbMF$N%j%9%H$r=PNO$7$^$9!#(B
 .It Fl u
-Like
-.Fl r ,
-but new entries are added only if they have a modification date
-newer than the corresponding entry in the archive.
-Note that this only works on uncompressed archives stored in regular files.
-The
+.Fl r
+$B$H;w$F$$$^$9$,!"?7$7$$%(%s%H%j$NJQ99;~9o$,!"%"!<%+%$%VFb$NBP1~$9$k%(%s%H%j(B
+$B$N$b$N$h$j$b?7$7$$>l9g$N$_!"DI2C$5$l$^$9!#(B
+$B$J$*$3$l$ODL>o%U%!%$%k$NHs05=L%"!<%+%$%V$KBP$7$F$N$_F0:n$7$^$9!#(B
 .Fl f
-option is required.
+$B%*%W%7%g%s$,I,MW$G$9!#(B
 .It Fl x
-Extract to disk from the archive.
-If a file with the same name appears more than once in the archive,
-each copy will be extracted, with later copies overwriting (replacing)
-earlier copies.
+$B%"!<%+%$%V$+$i%G%#%9%/$KE83+$7$^$9!#(B
+$B$b$7F1L>$N%U%!%$%k$,%"!<%+%$%VFb$K(B 2 $B2s0J>e8=$l$?>l9g!"$=$l$>$l$N%3%T!<$,(B
+$BE83+$5$l!"8e$N$b$N$,$=$l0JA0$N%3%T!<$r>e=q$-(B ($BCV49(B) $B$7$^$9!#(B
 .El
 .Pp
-In
 .Fl c ,
 .Fl r ,
-or
 .Fl u
-mode, each specified file or directory is added to the
-archive in the order specified on the command line.
-By default, the contents of each directory are also archived.
-.Pp
-In extract or list mode, the entire command line
-is read and parsed before the archive is opened.
-The pathnames or patterns on the command line indicate
-which items in the archive should be processed.
-Patterns are shell-style globbing patterns as
-documented in XXXX.
-.Sh OPTIONS
-Unless specifically stated otherwise, options are applicable in
-all operating modes.
+$B%b!<%I$K$*$$$F!";XDj$5$l$?%U%!%$%k$^$?$O%G%#%l%/%H%j$O!"%3%^%s%I%i%$%s$G(B
+$B;XDj$5$l$?=g$K%"!<%+%$%V$KDI2C$5$l$^$9!#(B
+$B%G%U%)%k%H$G$O!"3F%G%#%l%/%H%jFb$N%U%!%$%k$b%"!<%+%$%V$5$l$^$9!#(B
+.Pp
+$BE83+$^$?$O%j%9%H%b!<%I$K$*$$$F!"%"!<%+%$%V$r%*!<%W%s$9$kA0$K(B
+$B%3%^%s%I%i%$%sA4BN$,FI$_9~$^$l!"2r@O$5$l$^$9!#(B
+$B%3%^%s%I%i%$%s$N%Q%9L>$^$?$O%Q%?!<%s$O!"%"!<%+%$%VFb$N=hM}BP>]$H$J$k(B
+$B%"%$%F%`$r<($7$^$9!#(B
+$B%Q%?!<%s$O%7%'%k7A<0$N%0%m%V%Q%?!<%s$G$"$j!"(BXXXX $B$KJ8=q2=$5$l$F$$$^$9!#(B
+.Sh $B%*%W%7%g%s(B
+$BL@5-$7$F$$$J$$%*%W%7%g%s$O!"A4$F$NA`:n%b!<%I$KE,MQ2DG=$G$9!#(B
 .Bl -tag -width indent
 .It Cm @ Ns Pa archive
-(c and r mode only)
-The specified archive is opened and the entries
-in it will be appended to the current archive.
-As a simple example,
+(c $B$*$h$S(B r $B%b!<%I$N$_(B)
+$B;XDj$5$l$?%"!<%+%$%V$,%*!<%W%s$5$l!"$=$N%(%s%H%j$,8=:_$N(B
+$B%"!<%+%$%V$KDI2C$5$l$^$9!#(B
+$B4JC1$JNc$H$7$F!"(B
 .Dl Nm Fl c Fl f Pa - Pa newfile Cm @ Ns Pa original.tar
-writes a new archive to standard output containing a file
+$B$G$O%U%!%$%k(B
 .Pa newfile
-and all of the entries from
-.Pa original.tar .
-In contrast,
+$B$H!"(B
+.Pa original.tar
+$B$NA4$F$N%(%s%H%j$r4^$`!"?7$7$$%"!<%+%$%V$rI8=`=PNO$K=q$-=P$7$^$9!#(B
+$BBP>HE*$K!"(B
 .Dl Nm Fl c Fl f Pa - Pa newfile Pa original.tar
-creates a new archive with only two entries.
-Similarly,
+$B$G$O!"Fs$D$N%(%s%H%j$N$_$N?7$7$$%"!<%+%$%V$r:n@.$7$^$9!#(B
+$B$^$?!"(B
 .Dl Nm Fl czf Pa - Fl -format Cm pax Cm @ Ns Pa -
-reads an archive from standard input (whose format will be determined
-automatically) and converts it into a gzip-compressed
-pax-format archive on stdout.
-In this way,
+$B$G$OI8=`F~NO$+$i%"!<%+%$%V$rFI$_9~$_(B ($B%U%)!<%^%C%H$O<+F0E*$KH=JL(B) $B!"(B
+gzip $B$G05=L$7$?(B pax $B%U%)!<%^%C%H%"!<%+%$%V$KJQ49$7$F!"I8=`=PNO$K=PNO$7$^$9!#(B
+$B$3$N$h$&$K!"(B
 .Nm
-can be used to convert archives from one format to another.
+$B$O%"!<%+%$%V$N%U%)!<%^%C%H$rJL$N$b$N$KJQ49$9$k0Y$K;H$&$3$H$,=PMh$^$9!#(B
 .It Fl b Ar blocksize
-Specify the block size, in 512-byte records, for tape drive I/O.
-As a rule, this argument is only needed when reading from or writing
-to tape drives, and usually not even then as the default block size of
-20 records (10240 bytes) is very common.
+$B%F!<%W%I%i%$%V$N(B I/O $B$KBP$9$k%V%m%C%/%5%$%:$r!"(B512 $B%P%$%H%l%3!<%IC10L$G(B
+$B;XDj$7$^$9!#(B
+$B0lHL$K!"K\0z?t$O%F!<%W%I%i%$%V$KFI$_=q$-$9$k;~!"%G%U%)%k%H%V%m%C%/%5%$%:$G(B
+$B$"$j$4$/0lHLE*$J(B 20 $B%l%3!<%I(B (10240 $B%P%$%H(B) $B$rMQ$$$J$$>l9g$N$_$KI,MW$H$J$j$^$9!#(B
 .It Fl C Ar directory
-In c and r mode, this changes the directory before adding
-the following files.
-In x mode, change directories after opening the archive
-but before extracting entries from the archive.
+c $B$*$h$S(B r $B%b!<%I$K$*$$$F!"B3$/%U%!%$%k$rDI2C$9$kA0$K!"%G%#%l%/%H%j$r(B
+$BJQ99$7$^$9!#(B
+x $B%b!<%I$K$*$$$F$O!"%"!<%+%$%V$r%*!<%W%s$7$?8e!"%(%s%H%j$r%"!<%+%$%V$+$i(B
+$BE83+$9$kA0$K%G%#%l%/%H%j$rJQ99$7$^$9!#(B
 .It Fl -check-links ( Fl W Cm check-links )
-(c and r modes only)
-Issue a warning message unless all links to each file are archived.
+(c $B$*$h$S(B r $B%b!<%I$N$_(B)
+$B3F%U%!%$%k$X$N$9$Y$F$N%j%s%/$,%"!<%+%$%V$5$l$J$$$J$i!"(B
+$B7Y9p%a%C%;!<%8$rH/9T$7$^$9!#(B
 .It Fl -exclude Ar pattern ( Fl W Cm exclude Ns = Ns Ar pattern )
-Do not process files or directories that match the
-specified pattern.
-Note that exclusions take precedence over patterns or filenames
-specified on the command line.
+$B;XDj$7$?%Q%?!<%s$K%^%C%A$9$k%U%!%$%k$d%G%#%l%/%H%j$r!"=hM}$7$^$;$s!#(B
+$B$J$*$3$l$O%3%^%s%I%i%$%s$G;XDj$7$?%Q%?!<%s$d%U%!%$%kL>$h$j$bM%@h$7$^$9!#(B
 .It Fl -format Ar format ( Fl W Cm format Ns = Ns Ar format )
-(c mode only)
-Use the specified format for the created archive.
-Supported formats include
+(c $B%b!<%I$N$_(B)
+$B:n@.$9$k%"!<%+%$%V$N%U%)!<%^%C%H$r;XDj$9$k$N$KMQ$$$^$9!#(B
+$B%5%]!<%H$5$l$k%U%)!<%^%C%H$K$O!"(B
 .Dq cpio ,
 .Dq pax ,
 .Dq shar ,
-and
-.Dq ustar .
-Other formats may also be supported; see
+.Dq ustar
+$B$,$"$j$^$9!#(B
+$B$^$?B>$N%U%)!<%^%C%H$b%5%]!<%H$5$l$F$$$k$+$b$7$l$^$;$s!#(B
+$B8=:_%5%]!<%H$5$l$F$$$k%U%)!<%^%C%H$N>\:Y$J>pJs$K$D$$$F$O!"(B
 .Xr libarchive-formats 5
-for more information about currently-supported formats.
+$B$r;2>H$7$F$/$@$5$$!#(B
 .It Fl f Ar file
-Read the archive from or write the archive to the specified file.
-The filename can be
+$B;XDj$5$l$?%U%!%$%k$r!"FI$_=q$-$9$k%"!<%+%$%V$K$7$^$9!#(B
+$B%U%!%$%kL>$r(B
 .Pa -
-for standard input or standard output.
-If not specified, the default tape device will be used.
-(On FreeBSD, the default tape device is
-.Pa /dev/sa0 . )
+$B$K$9$l$P!"I8=`F~NO$^$?$OI8=`=PNO$K$J$j$^$9!#(B
+$B;XDj$7$J$$>l9g!"%G%U%)%k%H$N%F!<%W%G%P%$%9$,;HMQ$5$l$^$9(B
+(FreeBSD $B$N>l9g!"%G%U%)%k%H$N%F!<%W%G%P%$%9$O(B
+.Pa /dev/sa0 )
+$B!#(B
 .It Fl -fast-read ( Fl W Cm fast-read )
-(x and t mode only)
-Extract or list only the first archive entry that matches each pattern
-or filename operand.
-Exit as soon as each specified pattern or filename has been matched.
-By default, the archive is always read to the very end, since
-there can be multiple entries with the same name and, by convention,
-later entries overwrite earlier entries.
-This option is provided as a performance optimization.
+(x $B$*$h$S(B t $B%b!<%I$N$_(B)
+$B3F%Q%?!<%s$^$?$O%U%!%$%kL>%*%Z%i%s%I$K%^%C%A$9$k%(%s%H%j$N$&$A!"(B
+$B:G=i$N%"!<%+%$%V%(%s%H%j$@$1$rE83+$^$?$O%j%9%HI=<($7$^$9!#(B
+$B3F%Q%?!<%s$^$?$O%U%!%$%kL>$K%^%C%A$9$l$P!"$9$0$K=*N;$7$^$9!#(B
+$BF1L>$N%(%s%H%j$,J#?tB8:_$G$-!"$^$?47=,$H$7$F8e$N%(%s%H%j$,$=$l0JA0$N%(%s%H%j$r(B
+$B>e=q$-$9$k0Y$K!"%G%U%)%k%H$G$O%"!<%+%$%V$O>o$K:G8e$^$GFI$_9~$^$l$^$9!#(B
+$BK\%*%W%7%g%s$O@-G=$N:GE,2=$N0Y$KDs6!$5$l$F$$$^$9!#(B
 .It Fl H
-(c and r mode only)
-Symbolic links named on the command line will be followed; the
-target of the link will be archived, not the link itself.
+(c $B$*$h$S(B r $B%b!<%I$N$_(B)
+$B%3%^%s%I%i%$%s$G;XDj$5$l$?%7%s%\%j%C%/%j%s%/$rDI@W$7$^$9!#(B
+$B%j%s%/<+?H$G$O$J$/!"%j%s%/$NBP>]$r%"!<%+%$%V$7$^$9!#(B
 .It Fl h
-(c and r mode only)
-Synonym for
-.Fl L .
+(c $B$*$h$S(B r $B%b!<%I$N$_(B)
+.Fl L
+$B$HF1$80UL#$G$9!#(B
 .It Fl -include Ar pattern ( Fl W Cm include Ns = Ns Ar pattern )
-Process only files or directories that match the specified pattern.
-Note that exclusions specified with
+$B;XDj$7$?%Q%?!<%s$K%^%C%A$7$?%U%!%$%k$^$?$O%G%#%l%/%H%j$N$_=hM}$7$^$9!#(B
+$B$J$*$3$N;XDj$h$j$b!"(B
 .Fl -exclude
-take precedence over inclusions.
-If no inclusions are explicitly specified, all entries are processed by
-default.
-The
+$B$K$h$k;XDj$,M%@h$7$^$9!#(B
+$B$3$l$rL@<($7$J$1$l$P!"%G%U%)%k%H$GA4$F$N%(%s%H%j$,=hM}$5$l$^$9!#(B
+$B$3$N(B
 .Fl -include
-option is especially useful when filtering archives.
-For example, the command
+$B%*%W%7%g%s$O!"%"!<%+%$%V$r%U%#%k%?%j%s%0$9$k$N$KFC$KM-MQ$G$9!#(B
+$BNc$H$7$F!"<!$N%3%^%s%I(B
 .Dl Nm Fl c Fl f Pa new.tar Fl -include='*foo*' Cm @ Ns Pa old.tgz
-creates a new archive
-.Pa new.tar
-containing only the entries from
+$B$G$O!"(B
 .Pa old.tgz
-containing the string
-.Sq foo .
+$B$N%(%s%H%j$N$&$A!"J8;zNs(B
+.Sq foo
+$B$r4^$s$G$$$k$b$N$@$1$r4^$`!"?7$7$$%"!<%+%$%V(B
+.Pa new.tar
+$B$r:n@.$7$^$9!#(B
 .It Fl j
-(c mode only)
-Compress the resulting archive with
-.Xr bzip2 1 .
-In extract or list modes, this option is ignored.
-Note that, unlike other
+(c $B%b!<%I$N$_(B)
+$B:n@.$9$k%"!<%+%$%V$r(B
+.Xr bzip2 1
+$B$G05=L$7$^$9!#(B
+$BE83+$^$?$O%j%9%H%b!<%I$G$O!"K\%*%W%7%g%s$OL5;k$5$l$^$9!#(B
+$B$J$*B>$N(B
 .Nm tar
-implementations, this implementation recognizes bzip2 compression
-automatically when reading archives.
+$B<BAu$H0[$J$j!"K\<BAu$G$O%"!<%+%$%V$rFI$_9~$`:]$K$O!"(Bbzip2 $B05=L$r(B
+$B<+F0E*$KH=JL$7$^$9!#(B
 .It Fl k
-(x mode only)
-Do not overwrite existing files.
-In particular, if a file appears more than once in an archive,
-later copies will not overwrite earlier copies.
+(x $B%b!<%I$N$_(B)
+$B4{B8$N%U%!%$%k$r>e=q$-$7$^$;$s!#(B
+$BFC$K!"%"!<%+%$%VFb$K(B 2 $B2s0J>e8=$l$k%U%!%$%k$G$"$C$F$b!"8e$N%3%T!<$,(B
+$B$=$l0JA0$N%3%T!<$r>e=q$-$9$k$3$H$O$7$^$;$s!#(B
 .It Fl L
-(c and r mode only)
-All symbolic links will be followed.
-Normally, symbolic links are archived as such.
-With this option, the target of the link will be archived instead.
+(c $B$*$h$S(B r $B%b!<%I$N$_(B)
+$BA4$F$N%7%s%\%j%C%/%j%s%/$rDI@W$7$^$9!#(B
+$BDL>o!"%7%s%\%j%C%/%j%s%/$O$=$N$^$^%"!<%+%$%V$5$l$^$9!#(B
+$BK\%*%W%7%g%s$K$h$j!"%j%s%/$NBP>]$,Be$o$j$K%"!<%+%$%V$5$l$^$9!#(B
 .It Fl l
-If
 .Ev POSIXLY_CORRECT
-is specified in the environment, this is a synonym for the
+$B$,4D6-$G;XDj$5$l$k$J$i!"$3$l$O(B
 .Fl -check-links
-option.
-Otherwise, an error will be displayed.
-Users who desire behavior compatible with GNU tar should use
-the
+$B%*%W%7%g%s$N$?$a$NF15A8l$G$9!#(B
+$B$5$b$J$1$l$P!"%(%i!<$,I=<($5$l$^$9!#(B
+GNU tar $B$H8_49@-$N$"$k?6Iq$$$r4uK>$9$k%f!<%6$OBe$o$j$K(B
 .Fl -one-file-system
-option instead.
+$B%*%W%7%g%s$r;HMQ$9$k$Y$-$G$9!#(B
 .It Fl m
-(x mode only)
-Do not extract modification time.
-By default, the modification time is set to the time stored in the archive.
+(x $B%b!<%I$N$_(B)
+$B%U%!%$%k99?7;~9o$rE83+$7$^$;$s!#(B
+$B%G%U%)%k%H$G$O!"99?7;~9o$O%"!<%+%$%V$KG<$a$i$l$F$$$k;~9o$K@_Dj$5$l$^$9!#(B
 .It Fl n
-(c, r, u modes only)
-Do not recursively archive the contents of directories.
+(c, r, u $B%b!<%I$N$_(B)
+$B%G%#%l%/%H%jFb$N%U%!%$%k$r:F5"E*$K%"!<%+%$%V$7$^$;$s!#(B
 .It Fl -nodump ( Fl W Cm nodump )
-(c and r modes only)
-Honor the nodump file flag by skipping this file.
+(c $B$*$h$S(B r $B%b!<%I$N$_(B)
+nodump $B%U%!%$%k%U%i%0$NN)$C$?%U%!%$%k$r%9%-%C%W$7$^$9!#(B
 .It Fl O
-(x, t modes only)
-In extract (-x) mode, files will be written to standard out rather than
-being extracted to disk.
-In list (-t) mode, the file listing will be written to stderr rather than
-the usual stdout.
+(x, t $B%b!<%I$N$_(B)
+$BE83+(B (-x) $B%b!<%I$G$O!"%U%!%$%k$O%G%#%9%/$KE83+$5$l$:$KI8=`=PNO$K(B
+$B=q$-9~$^$l$^$9!#(B
+$B%j%9%H(B (-t) $B%b!<%I$G$O!"%U%!%$%k%j%9%H$ODL>o$NI8=`=PNO$G$J$/I8=`%(%i!<$K(B
+$B=q$-9~$^$l$^$9!#(B
 .It Fl o
-(x mode only)
-Use the user and group of the user running the program rather
-than those specified in the archive.
-Note that this has no significance unless
+(x $B%b!<%I$N$_(B)
+$B%f!<%6$H%0%k!<%W$r!"%"!<%+%$%V$,;XDj$7$?$b$N$G$O$J$/!"(B
+$BK\%W%m%0%i%`$r<B9T$7$F$$$k%f!<%6$N$b$N$r;HMQ$7$^$9!#(B
+$B$J$*$3$l$O(B
 .Fl p
-is specified, and the program is being run by the root user.
-In this case, the file modes and flags from
-the archive will be restored, but ACLs or owner information in
-the archive will be discarded.
+$B$r;XDj$7$J$$$H0UL#$,$"$j$^$;$s!#$^$?K\%W%m%0%i%`$r(B root $B%f!<%6$,<B9T$7$F$$$k(B
+$BI,MW$,$"$j$^$9!#(B
+$B$3$N>l9g!"%U%!%$%k%b!<%I$H%U%i%0$O%"!<%+%$%V$+$i%j%9%H%"$5$l$^$9$,!"(B
+ACL $B$d=jM-<T$N>pJs$OGK4~$5$l$^$9!#(B
 .It Fl P
-Preserve pathnames.
-By default, absolute pathnames (those that begin with a /
-character) have the leading slash removed both when creating archives
-and extracting from them.
-Also,
+$B%Q%9L>$rJ];}$7$^$9!#(B
+$B%G%U%)%k%H$G$O!"%"!<%+%$%V$N:n@.$HE83+$NN>J}$K$*$$$F!"@dBP%Q%9L>(B ( / $BJ8;z$G(B
+$B;O$^$C$F$$$k$b$N(B) $B$N:G=i$N%9%i%C%7%e$O<h$j=|$+$l$^$9!#(B
+$B$^$?(B
 .Nm
-will refuse to extract archive entries whose pathnames contain
+$B$O!"%Q%9L>$K(B
 .Pa ..
-or whose target directory would be altered by a symlink.
-This option suppresses these behaviors.
+$B$r4^$s$G$$$?$j!"BP>]%G%#%l%/%H%j$r%7%s%\%j%C%/%j%s%/$GJQ99$9$k(B
+$B%"!<%+%$%V%(%s%H%j$rE83+$9$k$N$r5qH]$7$^$9!#(B
+$BK\%*%W%7%g%s$O$3$N?6Iq$$$rM^@)$7$^$9!#(B
 .It Fl p
-(x mode only)
-Preserve file permissions.
-Attempt to restore the full permissions, including owner, file modes, file
-flags and ACLs, if available, for each item extracted from the archive.
-By default, newly-created files are owned by the user running
-.Nm ,
-the file mode is restored for newly-created regular files, and
-all other types of entries receive default permissions.
-If
+(x $B%b!<%I$N$_(B)
+$B%U%!%$%k%Q!<%_%C%7%g%s$rJ];}$7$^$9!#(B
+$B%"!<%+%$%V$+$i3F%"%$%F%`$rE83+$9$k:]!"2DG=$J$i$P!"=jM-<T!"%U%!%$%k%b!<%I!"(B
+$B%U%!%$%k$N%U%i%0$H(B ACL $B$r4^$`!"A4$F$N%Q!<%_%C%7%g%s$r%j%9%H%"$7$h$&$H$7$^$9!#(B
+$B%G%U%)%k%H$G$O!"?75,:n@.$9$k%U%!%$%k$N=jM-<T$O(B
+.Nm
+$B$r<B9T$9$k%f!<%6$H$J$j!"?75,:n@.$9$kDL>o%U%!%$%k$K4X$7$F$O%U%!%$%k%b!<%I$,(B
+$B%j%9%H%"$5$l!"$^$?$3$l$i0J30$N%?%$%W$N%(%s%H%j$O%G%U%)%k%H$N%Q!<%_%C%7%g%s$K(B
+$B$J$j$^$9!#(B
+$B$b$7(B
 .Nm
-is being run by root, the default is to restore the owner unless the
+$B$r(B root $B$,<B9T$7$?>l9g!"(B
 .Fl o
-option is also specified.
+$B%*%W%7%g%s$r;XDj$7$J$$8B$j!"%G%U%)%k%H$G=jM-<T$,%j%9%H%"$5$l$^$9!#(B
 .It Fl T Ar filename
-(c mode only)
-Read names to be archived from
-.Pa filename .
-Names are terminated by newlines.
-The special name
+(c $B%b!<%I$N$_(B)
+$B%"!<%+%$%V$9$Y$-%U%!%$%kL>$r(B
+.Pa filename
+$B$+$iFI$_9~$_$^$9!#(B
+$B%U%!%$%kL>$O2~9T$G6h@Z$i$l$^$9!#(B
+$BFCJL$JL>A0$G$"$k(B
 .Dq -C
-will cause the current directory to be changed to the directory
-specified on the following line.
+$B$K$h$j!"%+%l%s%H%G%#%l%/%H%j$r$=$N<!$N9T$G;XDj$5$l$?%G%#%l%/%H%j$KJQ99$7$^$9!#(B
 .It Fl U
-(x mode only)
-Unlink files before creating them.
-Without this option,
-.Nm
-overwrites existing files, which preserves existing hardlinks.
-With this option, existing hardlinks will be broken, as will any
-symlink that would affect the location of an extracted file.
+(x $B%b!<%I$N$_(B)
+$B%U%!%$%k$r:n@.$9$kA0$K!"$$$C$?$s:o=|$7$^$9!#(B
+$BK\%*%W%7%g%sL5$7$G$O!"(B
+.Nm
+$B$O4{B8$N%U%!%$%k$r>e=q$-$7!"4{B8$N%O!<%I%j%s%/$rJ];}$7$^$9!#(B
+$BK\%*%W%7%g%s$K$h$j!"4{B8$N%O!<%I%j%s%/$OGK4~$5$l!"F1MM$K!"(B
+$BE83+$5$l$k%U%!%$%k$N>l=j$K1F6A$r5Z$\$9%7%s%\%j%C%/%j%s%/$bGK4~$5$l$^$9!#(B
 .It Fl v
-Produce verbose output.
-In create and extract modes,
+$B>iD9$J=PNO$rI=<($7$^$9!#(B
+$B:n@.5Z$SE83+%b!<%I$K$*$$$F!"(B
 .Nm
-will list each file name as it is read from or written to
-the archive.
-In list mode,
-.Nm
-will produce output similar to that of
-.Xr ls 1 .
-Additional
+$B$O%"!<%+%$%V$K=q$-9~$_!"$^$?$O%"!<%+%$%V$+$iFI$_=P$7$?3F%U%!%$%k$NL>A0$r(B
+$B%j%9%HI=<($7$^$9!#(B
+$B%j%9%H%b!<%I$K$*$$$F!"(B
+.Nm
+$B$O(B
+.Xr ls 1
+$B$K;w$?=PNO$rI=<($7$^$9!#(B
 .Fl v
-options will provide additional detail.
+$B%*%W%7%g%s$rDI2C$9$k$3$H$G!"IU2CE*$J@bL@$rI=<($7$^$9!#(B
 .It Fl W Ar longopt=value
-Long options (preceded by
-.Fl - )
-are only supported directly on systems that have the
+$B%m%s%0%*%W%7%g%s(B
+.Pf ( Fl -
+$B$,@h9T$9$k(B)
+$B$O!"(B
 .Xr getopt_long 3
-function.
-The
+$B4X?t$,MQ0U$5$l$F$$$k%7%9%F%`$G$N$_!"D>@\%5%]!<%H$5$l$^$9!#(B
+$B$3$N4X?t$r%5%]!<%H$7$J$$%7%9%F%`$G$O!"K\(B
 .Fl W
-option can be used to access long options on systems that
-do not support this function.
+$B%*%W%7%g%s$r2p$7$F!"%m%s%0%*%W%7%g%s$r;H$&$3$H$,=PMh$^$9!#(B
 .It Fl w
-Ask for confirmation for every action.
+$B$"$i$f$kA`:n$KBP$7!"3NG'$r5a$a$^$9!#(B
 .It Fl X Ar filename
-Read a list of exclusion patterns from the specified file.
-See
+$B;XDj$5$l$?%U%!%$%k$+$i=|30%Q%?!<%s$N%j%9%H$rFI$_9~$_$^$9!#(B
+$B=|30$N<h$j07$$$K4X$9$k>pJs$K$D$$$F$O(B
 .Fl -exclude
-for more information about the handling of exclusions.
+$B$r;2>H$7$F$/$@$5$$!#(B
 .It Fl y
-(c mode only)
-Compress the resulting archive with
-.Xr bzip2 1 .
-In extract or list modes, this option is ignored.
-Note that, unlike other
+(c $B%b!<%I$N$_(B)
+$B:n@.$9$k%"!<%+%$%V$r(B
+.Xr bzip2 1
+$B$G05=L$7$^$9!#(B
+$BE83+$^$?$O%j%9%H%b!<%I$G$O!"K\%*%W%7%g%s$OL5;k$5$l$^$9!#(B
+$B$J$*B>$N(B
 .Nm tar
-implementations, this implementation recognizes bzip2 compression
-automatically when reading archives.
+$B<BAu$H0[$J$j!"K\<BAu$G$O%"!<%+%$%V$rFI$_9~$`:]$K$O!"(Bbzip2 $B05=L$r(B
+$B<+F0E*$KH=JL$7$^$9!#(B
 .It Fl z
-(c mode only)
-Compress the resulting archive with
-.Xr gzip 1 .
-In extract or list modes, this option is ignored.
-Note that, unlike other
+(c $B%b!<%I$N$_(B)
+$B:n@.$9$k%"!<%+%$%V$r(B
+.Xr gzip 1
+$B$G05=L$7$^$9!#(B
+$BE83+$^$?$O%j%9%H%b!<%I$G$O!"K\%*%W%7%g%s$OL5;k$5$l$^$9!#(B
+$B$J$*B>$N(B
 .Nm tar
-implementations, this implementation recognizes gzip compression
-automatically when reading archives.
+$B<BAu$H0[$J$j!"K\<BAu$G$O%"!<%+%$%V$rFI$_9~$`:]$K$O!"(Bgzip $B05=L$r(B
+$B<+F0E*$KH=JL$7$^$9!#(B
 .El
-.Sh ENVIRONMENT
-The following environment variables affect the execution of
-.Nm :
+.Sh $B4D6-JQ?t(B
+$B<!$N4D6-JQ?t$,!"(B
+.Nm
+$B$N<B9T$K4X78$7$^$9(B:
 .Bl -tag -width ".Ev BLOCKSIZE"
 .It Ev LANG
-The locale to use.
-See
+$B;HMQ$9$k%m%1!<%k!#>\:Y$O(B
 .Xr environ 7
-for more information.
+$B$r;2>H!#(B
 .It Ev POSIXLY_CORRECT
-If this environment variable is defined, the
+$B$3$N4D6-JQ?t$,Dj5A$5$l$k$H!"(B
 .Fl l
-option will be interpreted in accordance with
-.St -p1003.1-96 .
+$B%*%W%7%g%s$O(B
+.St -p1003.1-96
+$B$K=>$C$F2r<a$5$l$^$9!#(B
 .It Ev TAPE
-The default tape device.
-The
+$B%G%U%)%k%H%F!<%W%G%P%$%9!#(B
 .Fl f
-option overrides this.
+$B%*%W%7%g%s$O$3$l$rL5;k$7$^$9!#(B
 .It Ev TZ
-The timezone to use when displaying dates.
-See
+$BF|IU$rI=<($9$k:]$K;HMQ$9$k%?%$%`%>!<%s!#>\:Y$O(B
 .Xr environ 7
-for more information.
+$B$r;2>H!#(B
 .El
-.Sh FILES
+.Sh $B4XO"%U%!%$%k(B
 .Bl -tag -width ".Ev BLOCKSIZE"
 .It Pa /dev/sa0
-The default tape device, if not overridden by the
 .Ev TAPE
-environment variable or the
+$B4D6-JQ?t$+(B
 .Fl f
-option.
+$B%*%W%7%g%s$GL5;k$5$l$J$$$J$i!"(B
+$B%G%U%)%k%H$N%F!<%W%G%P%$%9$G$9!#(B
 .El
-.Sh EXIT STATUS
+.Sh $B=*N;%9%F!<%?%9(B
 .Ex -std
-.Sh EXAMPLES
-The following creates a new archive
-called
-.Ar file.tar
-that contains two files
+.Sh $B;HMQNc(B
+$BFs$D$N%U%!%$%k(B
 .Ar source.c
-and
-.Ar source.h :
+$B$H(B
+.Ar source.h
+$B$r4^$`?7$7$$%"!<%+%$%V(B
+.Ar file.tar
+$B$r:n@.$7$^$9(B:
 .Dl Nm Fl czf Pa file.tar Pa source.c Pa source.h
 .Pp
-To view a detailed table of contents for this
-archive:
+$B%"!<%+%$%V$N>\:Y$JFbMF0lMw$rI=<($7$^$9(B:
 .Dl Nm Fl tvf Pa file.tar
 .Pp
-To extract all entries from the archive on
-the default tape drive:
+$B%G%U%)%k%H$N%F!<%W%I%i%$%V$K$"$k%"!<%+%$%V$N!"A4$F$N%(%s%H%j$rE83+$7$^$9(B:
 .Dl Nm Fl x
 .Pp
-In create mode, the list of files and directories to be archived
-can also include directory change instructions of the form
+$B:n@.%b!<%I$K$*$$$F!"%"!<%+%$%V$5$l$k%U%!%$%k$H%G%#%l%/%H%j$N%j%9%H$K$O!"(B
 .Cm -C Ns Pa foo/baz
-and archive inclusions of the form
-.Cm @ Ns Pa archive-file .
-For example, the command line
+$B$N7A<0$G%G%#%l%/%H%j$NJQ99L?Na$r<h$j9~$`$3$H$,=PMh$^$9!#$^$?(B
+.Cm @ Ns Pa archive-file
+$B$N7A<0$G%"!<%+%$%V$N%(%s%H%j$r<h$j9~$`$3$H$b=PMh$^$9!#(B
+$BNc$($P!"<!$N%3%^%s%I%i%$%s(B
 .Dl Nm Fl c Fl f Pa new.tar Pa foo1 Cm @ Ns Pa old.tgz Cm -C Ns Pa /tmp Pa foo2
-will create a new archive
-.Pa new.tar .
+$B$G$O!"?7$7$$%"!<%+%$%V(B
+.Pa new.tar
+$B$r:n@.$7$^$9!#(B
 .Nm
-will read the file
+$B$O%+%l%s%H%G%#%l%/%H%j$+$i%U%!%$%k(B
 .Pa foo1
-from the current directory and add it to the output archive.
-It will then read each entry from
+$B$rFI$_9~$_!"=PNO$9$k%"!<%+%$%V$KDI2C$7$^$9!#(B
+$B<!$K(B
 .Pa old.tgz
-and add those entries to the output archive.
-Finally, it will switch to the
+$B$N3F%(%s%H%j$rFI$_9~$_!"$3$l$i$N%(%s%H%j$r!"=PNO$9$k%"!<%+%$%V$KDI2C$7$^$9!#(B
+$B:G8e$K%G%#%l%/%H%j$r(B
 .Pa /tmp
-directory and add
+$B$KJQ99$7!"(B
 .Pa foo2
-to the output archive.
-.Sh COMPATIBILITY
-The bundled-arguments format is supported for compatibility
-with historic implementations.
-It consists of an initial word (with no leading - character) in which
-each character indicates an option.
-Arguments follow as separate words.
-The order of the arguments must match the order
-of the corresponding characters in the bundled command word.
-For example,
+$B$r=PNO$9$k%"!<%+%$%V$KDI2C$7$^$9!#(B
+.Sh $B8_49@-(B
+$B$^$H$a%*%W%7%g%s7A<0$O!"$3$l$^$G$N<BAu$H$N8_49@-$N$?$a$K%5%]!<%H$5$l$F$$$^$9!#(B
+$B$3$l$K$O!"3FJ8;z$,%*%W%7%g%s$G$"$kF,J8;z(B ( - $BJ8;z$G;O$^$i$J$$(B)
+$B$,B8:_$7$^$9!#(B
+$B0z?t$OJL!9$NC18l$GB3$-$^$9!#(B
+$B$3$N0z?t$N=g=x$O$^$H$a%*%W%7%g%sJ8;zFb$N!"BP1~$9$kF,J8;z$N=g=x$H0lCW$7$F$$$k(B
+$BI,MW$,$"$j$^$9!#(B
+$BNc$($P(B
 .Dl Nm Cm tbf 32 Pa file.tar
-specifies three flags
+$B$G$O!";0$D$N%U%i%0(B
 .Cm t ,
 .Cm b ,
-and
-.Cm f .
-The
+$B$*$h$S(B
+.Cm f
+$B$r;XDj$7$F$$$^$9!#(B
 .Cm b
-and
+$B$H(B
 .Cm f
-flags both require arguments,
-so there must be two additional items
-on the command line.
-The
+$B%U%i%0$O!"6&$K0z?t$,I,MW$G$9$N$G!"Fs$D$NDI2C%"%$%F%`$,%3%^%s%I%i%$%s$K(B
+$BI,MW$G$9!#(B
 .Ar 32
-is the argument to the
+$B$O(B
 .Cm b
-flag, and
+$B%U%i%0$KBP$9$k0z?t$G$"$j!"$^$?(B
 .Ar file.tar
-is the argument to the
+$B$O(B
 .Cm f
-flag.
+$B%U%i%0$KBP$9$k0z?t$G$9!#(B
 .Pp
-The mode options c, r, t, u, and x and the options
-b, f, l, m, o, v, and w comply with SUSv2.
+$B%b!<%I%*%W%7%g%s$N(B c, r, t, u, x $B!"$*$h$S%*%W%7%g%s$N(B
+b, f, l, m, o, v, w $B$O!"(BSUSv2 $B$K=`$8$F$$$^$9!#(B
 .Pp
-For maximum portability, scripts that invoke
+$B0\?"@-$r:GBg8B$K$9$k$?$a$K!"(B
 .Nm tar
-should use the bundled-argument format above, should limit
-themselves to the
+$B$r<B9T$9$k%9%/%j%W%H$O!">e5-$N$^$H$a%*%W%7%g%s7A<0$r;H$&$Y$-$G$"$j!"(B
+$B%b!<%I%*%W%7%g%s$O(B
 .Cm c ,
 .Cm t ,
-and
 .Cm x
-modes, and the
+$B$K!"$^$?%*%W%7%g%s$O(B
 .Cm b ,
 .Cm f ,
 .Cm m ,
 .Cm v ,
-and
 .Cm w
-options.
+$B$K@)8B$9$k$Y$-$G$9!#(B
 .Pp
-On systems that support getopt_long(), additional long options
-are available to improve compatibility with other tar implementations.
-.Sh SECURITY
-Certain security issues are common to many archiving programs, including
-.Nm .
-In particular, carefully-crafted archives can request that
-.Nm
-extract files to locations outside of the target directory.
-This can potentially be used to cause unwitting users to overwrite
-files they did not intend to overwrite.
-If the archive is being extracted by the superuser, any file
-on the system can potentially be overwritten.
-There are three ways this can happen.
-Although
+getopt_long() $B$r%5%]!<%H$9$k%7%9%F%`$G$O!"B>$N(B tar $B<BAu$H$N8_49@-$r(B
+$BA}$9$?$a$K!"%m%s%0%*%W%7%g%s$,;HMQ$G$-$^$9!#(B
+.Sh $B%;%-%e%j%F%#(B
+$B3N<B$J%;%-%e%j%F%#$O!"(B
+.Nm
+$B$r4^$`Bt;3$N%"!<%+%$%V%W%m%0%i%`$K6&DL$N2]Bj$G$9!#(B
+$BFC$K!":Y9)$5$l$?%"!<%+%$%V$O(B
+.Nm
+$B$KBP$7$F!"BP>]$H$9$k%G%#%l%/%H%j0J30$N>l=j$K%U%!%$%k$rE83+$9$k$h$&$K(B
+$BMW5a$9$k$3$H$,=PMh$^$9!#(B
+$B$3$l$OITCm0U$J%f!<%6$KBP$7!">e=q$-$9$k$D$b$j$NL5$$%U%!%$%k$r(B
+$B>e=q$-$5$;$k$N$K;H$&$3$H$,@x:_E*$K2DG=$G$9!#(B
+$B%"!<%+%$%V$r%9!<%Q%f!<%6$,E83+$7$F$$$k>l9g$O!"%7%9%F%`>e$N(B
+$B$"$i$f$k%U%!%$%k$,>e=q$-$5$l$k@x:_E*$J2DG=@-$,$"$j$^$9!#(B
+$B$3$l$r0z$-5/$3$9!";0$D$N<jCJ$,$"$j$^$9!#(B
 .Nm
-has mechanisms to protect against each one,
-savvy users should be aware of the implications:
+$B$O$=$l$i$KBP$9$kKI8f5!9=$rHw$($F$$$^$9$,!">pJsDL$N%f!<%6$J$i$P!"(B
+$B$=$l$i$K$D$$$FCN$C$F$*$/$Y$-$G$7$g$&(B:
 .Bl -bullet -width indent
 .It
-Archive entries can have absolute pathnames.
-By default,
+$B%"!<%+%$%V$N%(%s%H%j$O!"@dBP%Q%9L>$r;}$D$3$H$,=PMh$^$9!#(B
+$B%G%U%)%k%H$G$O!"(B
 .Nm
-removes the leading
+$B$O$3$NLdBj$KBP$9$kKI8f:v$H$7$F!"$3$l$r%j%9%H%"$9$kA0$K%U%!%$%kL>$N@hF,$K$"$k(B
 .Pa /
-character from filenames before restoring them to guard against this problem.
+$BJ8;z$r<h$j=|$-$^$9!#(B
 .It
-Archive entries can have pathnames that include
+$B%"!<%+%$%V$N%(%s%H%j$O!"(B
 .Pa ..
-components.
-By default,
+$B$r4^$`%Q%9L>$r;}$D$3$H$,=PMh$^$9!#(B
+$B%G%U%)%k%H$G$O!"(B
 .Nm
-will not extract files containing
+$B$O%Q%9L>$K(B
 .Pa ..
-components in their pathname.
+$B$r4^$s$G$$$k%U%!%$%k$rE83+$7$^$;$s!#(B
 .It
-Archive entries can exploit symbolic links to restore
-files to other directories.
-An archive can restore a symbolic link to another directory,
-then use that link to restore a file into that directory.
-To guard against this,
-.Nm
-checks each extracted path for symlinks.
-If the final path element is a symlink, it will be removed
-and replaced with the archive entry.
-If
+$B%"!<%+%$%V$N%(%s%H%j$G$O!"%U%!%$%k$rJL$N%G%#%l%/%H%j$K%j%9%H%"$9$k$h$&$K!"(B
+$B%7%s%\%j%C%/%j%s%/$r0-MQ$9$k$3$H$,=PMh$^$9!#(B
+$B%"!<%+%$%V$OJL$N%G%#%l%/%H%j$r;X$9%7%s%\%j%C%/%j%s%/$r%j%9%H%"$9$k$3$H$,=PMh!"(B
+$B$3$N%j%s%/$r;H$C$F%U%!%$%k$r$=$N%G%#%l%/%H%j$K%j%9%H%"$7$^$9!#(B
+$B$3$l$rKI$0$?$a!"(B.Nm $B$G$OKh2s!"E83+$5$l$k%Q%9$K%7%s%\%j%C%/%j%s%/$,(B
+$B4^$^$l$k$+$I$&$+$rD4$Y$^$9!#$b$7%Q%9$N:G8e$NMWAG$,(B
+$B%7%s%\%j%C%/%j%s%/$G$"$l$P!"$=$N%7%s%\%j%C%/%j%s%/$O:o=|$5$l!"(B
+$B%"!<%+%$%V$NFbMF$KCV$-49$($i$l$^$9!#(B
 .Fl U
-is specified, any intermediate symlink will also be unconditionally removed.
-If neither
+$B$,;XDj$5$l$F$$$l$P!"E83+$5$l$k%Q%9$NCf4V$KB8:_$9$k(B
+$B%7%s%\%j%C%/%j%s%/$b!"$9$Y$FL5>r7o$K:o=|$5$l$^$9!#(B
+$B$b$7(B
 .Fl U
-nor
+$B$b(B
 .Fl P
-is specified,
+$B$b;XDj$7$J$1$l$P!"(B
 .Nm
-will refuse to extract the entry.
+$B$O$3$N$h$&$J%(%s%H%j$rE83+$9$k$N$r5qH]$7$^$9!#(B
 .El
-To protect yourself, you should be wary of any archives that
-come from untrusted sources.
-You should examine the contents of an archive with
+$B$"$J$?<+?H$r<i$k$?$a!"?.MQ$G$-$J$$=P=h$+$i$N%"!<%+%$%V$K$O5$$r$D$1$k$Y$-$G$9!#(B
+$B%"!<%+%$%V$rE83+$9$kA0$K!"(B
 .Dl Nm Fl tf Pa filename
-before extraction.
-You should use the
-.Fl k
-option to ensure that
+$B$H$7$F%"!<%+%$%V$NFbMF$rD4$Y$k$Y$-$G$9!#(B
 .Nm
-will not overwrite any existing files or the
+$B$,4{B8$N%U%!%$%k$r>e=q$-$7$J$$$3$H$rJ]>Z$9$k$K$O(B
+.Fl k
+$B%*%W%7%g%s$r;H$&$Y$-$G$9$7!"4{B8$N%U%!%$%k$r>C5n$5$;$k$K$O(B
 .Fl U
-option to remove any pre-existing files.
-You should generally not extract archives while running with super-user
-privileges.
-Note that the
+$B%*%W%7%g%s$r;H$&$Y$-$G$9!#(B
+$B0lHL$K!"%9!<%Q%f!<%68"8B$K$"$k;~$O!"%"!<%+%$%V$rE83+$9$k$Y$-$G$O$"$j$^$;$s!#(B
+$B$J$*(B
 .Fl P
-option to
+$B%*%W%7%g%s$K$h$j!"(B
 .Nm
-disables the security checks above and allows you to extract
-an archive while preserving any absolute pathnames,
+$B$O>e$K=R$Y$?%;%-%e%j%F%#%A%'%C%/$r9T$o$J$$$h$&$K$J$j!"@dBP%Q%9$d(B
 .Pa ..
-components, or symlinks to other directories.
-.Sh SEE ALSO
+$B$r4^$`%U%!%$%k!"5Z$SB>$N%G%#%l%/%H%j$X$N%7%s%\%j%C%/%j%s%/$r(B
+$BE83+$G$-$k$h$&$K$J$j$^$9!#(B
+.Sh $B4XO"9`L\(B
 .Xr bzip2 1 ,
 .Xr cpio 1 ,
 .Xr gzip 1 ,
@@ -564,119 +548,108 @@
 .Xr libarchive 3 ,
 .Xr libarchive-formats 5 ,
 .Xr tar 5
-.Sh STANDARDS
-There is no current POSIX standard for the tar command; it appeared
-in
+.Sh $B5,3J(B
+$B8=:_!"(Btar $B%3%^%s%I$KBP$9$k(B POSIX $BI8=`$O$"$j$^$;$s!#(B
 .St -p1003.1-96
-but was dropped from
-.St -p1003.1-2001 .
-The options used by this implementation were developed by surveying a
-number of existing tar implementations as well as the old POSIX specification
-for tar and the current POSIX specification for pax.
+$B$K$O$"$j$^$7$?$,!"(B
+.St -p1003.1-2001
+$B$G$OL5$/$J$j$^$7$?!#(B
+$BK\<BAu$G;HMQ$G$-$k%*%W%7%g%s$O!"8E$$(B tar $B$N(B POSIX $B;EMM!"8=:_$N(B
+pax $B$N(B POSIX $B;EMM$O$b$A$m$s!"8=B8$9$k$$$/$D$+$N(B tar $B<BAu$rD4::$7$F(B
+$B3+H/$5$l$^$7$?!#(B
 .Pp
-The ustar and pax interchange file formats are defined by
+ustar $B$H(B pax $B4V$N%U%!%$%k%U%)!<%^%C%HJQ49$K$D$$$F$O!"(Bpax $B%3%^%s%I$N(B
 .St -p1003.1-2001
-for the pax command.
-.Sh HISTORY
-A
+$B$K$FDj5A$5$l$F$$$^$9!#(B
+.Sh $BNr;K(B
 .Nm tar
-command appeared in Seventh Edition Unix.
-There have been numerous other implementations,
-many of which extended the file format.
-John Gilmore's
+$B%3%^%s%I$O(B Seventh Edition Unix $B$+$iEP>l$7$^$7$?!#(B
+$BB>$NB??t$N<BAu$,$"$j!"$=$NB?$/$O%U%!%$%k%U%)!<%^%C%H$r3HD%$7$F$$$^$9!#(B
+John Gilmore $B$K$h$k%Q%V%j%C%/%I%a%$%s<BAu$N(B
 .Nm pdtar
-public-domain implementation (circa November, 1987)
-was quite influential, and formed the basis of GNU tar.
-GNU tar was included as the standard system tar
-in FreeBSD beginning with FreeBSD 1.0.
+(1987 $BG/(B 11 $B7n:"(B) $B$OB?Bg$J1F6A$r5Z$\$7!"(BGNU tar $B$N85$K$J$j$^$7$?!#(B
+FreeBSD 1.0 $B$h$j!"(BGNU tar $B$O(B FreeBSD $B4pK\%7%9%F%`$N(B tar $B$H$7$F(B
+$B<h$j9~$^$l$^$7$?!#(B
 .Pp
-This is a complete re-implementation based on the
+$BK\%=%U%H%&%'%"$O(B
 .Xr libarchive 3
-library.
-.Sh BUGS
-POSIX and GNU violently disagree about the meaning of the
+$B%i%$%V%i%j$r%Y!<%9$K$7$?!"40A4$J:F<BAu$G$9!#(B
+.Sh $B%P%0(B
+POSIX $B$H(B GNU $B$O(B
 .Fl l
-option.
-Because of the potential for disaster if someone expects
-one behavior and gets the other, the
+$B%*%W%7%g%s$N0UL#$K$D$$$F6/$/0U8+$r0[$K$7$F$$$^$9!#(B
+$B0lJ}$N?6Iq$$$r4|BT$7$FB>J}$N7k2L$rF@$k$H$$$C$?:R32$N2DG=@-$,$"$k$?$a!"(B
+$B$3$N<BAu$G$O!"(B
 .Fl l
-option is deliberately broken in this implementation.
+$B%*%W%7%g%s$O8N0U$K2u$7$F$"$j$^$9!#(B
+.\" because of = $B!A$N$?$a$K!"!A$N$;$$$G(B
 .Pp
-The
 .Fl C Pa dir
-option may differ from historic implementations.
+$B%*%W%7%g%s$O!"NrBe$N<BAu$H$O0[$J$C$F$$$k$+$bCN$l$^$;$s!#(B
 .Pp
-All archive output is written in correctly-sized blocks, even
-if the output is being compressed.
-Whether or not the last output block is padded to a full
-block size varies depending on the format and the
-output device.
-For tar and cpio formats, the last block of output is padded
-to a full block size if the output is being
-written to standard output or to a character or block device such as
-a tape drive.
-If the output is being written to a regular file, the last block
-will not be padded.
-Many compressors, including
+$BA4$F$N%"!<%+%$%V=PNO$O!"=PNO$r05=L$7$F$$$F$b!"@5$7$$%5%$%:$N%V%m%C%/$G(B
+$B=q$-=P$5$l$^$9!#(B
+$B:G8e$N=PNO%V%m%C%/$,%V%m%C%/%5%$%:$NBg$-$5$K%Q%G%#%s%0$5$l$k$+$I$&$+$O!"(B
+$B%U%)!<%^%C%H$H=PNO%G%P%$%9$K$h$C$FJQ$o$j$^$9!#(B
+tar $B$H(B cpio $B%U%)!<%^%C%H$K$*$$$F!"=PNO$,I8=`=PNO!"%-%c%i%/%?7?%G%P%$%9!"(B
+$B$b$7$/$O%F!<%W%I%i%$%V$N$h$&$J%V%m%C%/7?%G%P%$%9$N>l9g!"(B
+$B=PNO$N:G8e$N%V%m%C%/$O%V%m%C%/%5%$%:$NBg$-$5$K%Q%G%#%s%0$5$l$^$9!#(B
+$B=PNO$rDL>o%U%!%$%k$K=q$-9~$`>l9g!":G8e$N%V%m%C%/$O%Q%G%#%s%0$5$l$^$;$s!#(B
 .Xr gzip 1
-and
-.Xr bzip2 1 ,
-complain about the null padding when decompressing an archive created by
-.Nm ,
-although they still extract it correctly.
-.Pp
-The compression and decompression is implemented internally, so
-there may be insignificant differences between the compressed output
-generated by
+$B$d(B
+.Xr bzip2 1
+$B$r4^$`B??t$N05=L%=%U%H%&%'%"$O!"(B
+.Nm
+$B$G:n@.$5$l$?%"!<%+%$%V$rI|85$9$k;~!"$3$N%L%k%Q%G%#%s%0$K$D$$$FJ86g$r8@$$$^$9$,(B 
+$BE83+$O@5>o$K9T$($^$9!#(B
+.Pp
+$B05=L$HI|855!G=$OFbIt$G<BAu$5$l$F$$$k$N$G!"(B
 .Dl Nm Fl czf Pa - file
-and that generated by
+$B$K$h$j:n@.$7$?05=L=PNO$H!"(B
 .Dl Nm Fl cf Pa - file | Nm gzip
+$B$K$h$j:n@.$7$?05=L=PNO$K$O!":3:Y$G$9$,0c$$$,$"$j$^$9!#(B
 .Pp
-The default should be to read and write archives to the standard I/O paths,
-but tradition (and POSIX) dictates otherwise.
+$B%G%U%)%k%H$G$OI8=`$N(B I/O $B%Q%9$G%"!<%+%$%V$rFI$_=q$-$9$k$Y$-$G$9$,!"(B
+$BEAE}E*$K(B ($B$*$h$S(B POSIX $B$G$O(B) $BB>$N$b$N$rMW5a$7$^$9!#(B
 .Pp
-The
 .Cm r
-and
+$B$*$h$S(B
 .Cm u
-modes require that the archive be uncompressed
-and located in a regular file on disk.
-Other archives can be modified using
+$B%b!<%I$G$O!"%"!<%+%$%V$OHs05=L$G%G%#%9%/>e$KDL>o%U%!%$%k$H$7$FB8:_$9$k(B
+$BI,MW$,$"$j$^$9!#(B
+$BB>$N%"!<%+%$%V$O(B
 .Cm c
-mode with the
+$B%b!<%I$H(B
 .Pa @archive-file
-extension.
+$B3HD%$rMQ$$$F99?7$9$k$3$H$,=PMh$^$9!#(B
 .Pp
-To archive a file called
 .Pa @foo
-or
+$B$d(B
 .Pa -foo
-you must specify it as
+$B$H$$$C$?L>A0$N%U%!%$%k$r%"!<%+%$%V$9$k$K$O!"$=$l$>$l(B
 .Pa ./@foo
-or
-.Pa ./-foo ,
-respectively.
+$B$d(B
+.Pa ./-foo
+$B$H$$$&7A<0$G;XDj$9$kI,MW$,$"$j$^$9!#(B
 .Pp
-In create mode, a leading
+$B:n@.%b!<%I$K$*$$$F!"@hF,$K$"$k(B
 .Pa ./
-is always removed.
-A leading
+$B$O>o$K:o=|$5$l$^$9!#(B
+$B@hF,$K$"$k(B
 .Pa /
-is stripped unless the
+$B$O!"(B
 .Fl P
-option is specified.
+$B%*%W%7%g%s$,;XDj$5$l$J$$8B$j!"<h$j=|$+$l$^$9!#(B
 .Pp
-There needs to be better support for file selection on both create
-and extract.
+$B:n@.5Z$SE83+$K$*$1$k!"%U%!%$%kA*Br$N$h$j$h$$%5%]!<%H$,I,MW$G$9!#(B
 .Pp
-There is not yet any support for multi-volume archives or for archiving
-sparse files.
+$B%^%k%A%\%j%e!<%`%"!<%+%$%V!"$*$h$SAB$J%U%!%$%k$KBP$9$k%5%]!<%H$O$^$@$"$j$^$;$s!#(B
 .Pp
-Converting between dissimilar archive formats (such as tar and cpio) using the
+$B0[$J$k%"!<%+%$%V%U%)!<%^%C%H(B (tar $B$H(B cpio $B$J$I(B) $B$r(B
 .Cm @ Ns Pa -
-convention can cause hard link information to be lost.
-(This is a consequence of the incompatible ways that different archive
-formats store hardlink information.)
+$B$K$h$jJQ49$9$k$H!"%O!<%I%j%s%/>pJs$,<:$o$l$^$9(B
+($B$3$l$O0[$J$k%"!<%+%$%V%U%)!<%^%C%H$G%O!<%I%j%s%/>pJs$r3JG<$7$F$$$k$3$H$+$i$/$k(B
+$BEvA3$N7k2L$G$9(B) $B!#(B
 .Pp
-There are alternative long options for many of the short options that
-are deliberately not documented.
+$B8N0U$K%I%-%e%a%s%H2=$7$F$$$J$$!"B?$/$N%7%g!<%H%*%W%7%g%s$NBe$o$j$K$J$k(B
+$B%m%s%0%*%W%7%g%s$,$"$j$^$9!#(B
