summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2010-04-11 01:30:15 +0000
committerkientzle <kientzle@FreeBSD.org>2010-04-11 01:30:15 +0000
commitda95b3559b222160ff4018df20e3a873d6975793 (patch)
tree6b7e30df8df9ebe82d630e89047641d1f2ede214 /usr.bin
parent1f5c413779c10e8487cdf7480cc95a7fc868c7b6 (diff)
downloadFreeBSD-src-da95b3559b222160ff4018df20e3a873d6975793.zip
FreeBSD-src-da95b3559b222160ff4018df20e3a873d6975793.tar.gz
Correct the markup for the -s option,
document the iso9660:rockridge and mtree:indent options
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tar/bsdtar.137
1 files changed, 30 insertions, 7 deletions
diff --git a/usr.bin/tar/bsdtar.1 b/usr.bin/tar/bsdtar.1
index 819e2f2..ac9afbb 100644
--- a/usr.bin/tar/bsdtar.1
+++ b/usr.bin/tar/bsdtar.1
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 25, 2009
+.Dd Oct 12, 2009
.Dt BSDTAR 1
.Os
.Sh NAME
@@ -336,6 +336,13 @@ This is enabled by default, use
or
.Cm iso9660:!joliet
to disable.
+.It Cm iso9660:rockridge
+Support Rock Ridge extensions.
+This is enabled by default, use
+.Cm !rockridge
+or
+.Cm iso9660:!rockridge
+to disable.
.It Cm gzip:compression-level
A decimal integer from 0 to 9 specifying the gzip compression level.
.It Cm xz:compression-level
@@ -359,7 +366,13 @@ Enable generation of
.Cm /set
lines in the output.
.It Cm mtree:indent
-XXX need explanation XXX
+Produce human-readable output by indenting options and splitting lines
+to fit into 80 columns.
+.It Cm zip:compression Ns = Ns Ar type
+Use
+.Ar type
+as compression method.
+Supported values are store (uncompressed) and deflate (gzip algorithm).
.El
If a provided option is not supported by any module, that
is a fatal error.
@@ -412,11 +425,21 @@ but before security checks.
.It Fl s Ar pattern
Modify file or archive member names according to
.Pa pattern .
-The pattern has the format /old/new/[gps].
-old is a basic regular expression.
-If it doesn't apply, the pattern is skipped.
-new is the replacement string of the matched part.
-~ is substituted with the match, \e1 to \e9 with the content of
+The pattern has the format
+.Ar /old/new/ Ns Op gps
+where
+.Ar old
+is a basic regular expression,
+.Ar new
+is the replacement string of the matched part,
+and the optional trailing letters modify
+how the replacement is handled.
+If
+.Ar old
+is not matched, the pattern is skipped.
+Within
+.Ar new ,
+~ is substituted with the match, \1 to \9 with the content of
the corresponding captured group.
The optional trailing g specifies that matching should continue
after the matched part and stopped on the first unmatched pattern.
OpenPOWER on IntegriCloud