Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/pax Miscellaneous fixes.
details: https://anonhg.NetBSD.org/src/rev/61b7cc55844d
branches: trunk
changeset: 538137:61b7cc55844d
user: wiz <wiz%NetBSD.org@localhost>
date: Sat Oct 12 22:36:01 2002 +0000
description:
Miscellaneous fixes.
diffstat:
bin/pax/cpio.1 | 12 ++++++------
bin/pax/tar.1 | 29 +++++++++++++++--------------
2 files changed, 21 insertions(+), 20 deletions(-)
diffs (141 lines):
diff -r a456cb99beb7 -r 61b7cc55844d bin/pax/cpio.1
--- a/bin/pax/cpio.1 Sat Oct 12 22:19:25 2002 +0000
+++ b/bin/pax/cpio.1 Sat Oct 12 22:36:01 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: cpio.1,v 1.1 2002/10/12 15:30:54 christos Exp $
+.\" $NetBSD: cpio.1,v 1.2 2002/10/12 22:36:01 wiz Exp $
.\"
.\" Copyright (c) 1997 SigmaSoft, Th. Lockert
.\" All rights reserved.
@@ -28,7 +28,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" OpenBSD: cpio.1,v 1.14 2000/11/10 17:52:02 aaron Exp
+.\" OpenBSD: cpio.1,v 1.14 2000/11/10 17:52:02 aaron Exp
.\"
.Dd February 16, 1997
.Dt CPIO 1
@@ -44,8 +44,8 @@
.Op Fl F Ar archive
.Op Fl H Ar format
.Op Fl O Ar archive
-.Ar "< name-list"
-.Op Ar "> archive"
+.Ar "\*[Lt] name-list"
+.Op Ar "\*[Gt] archive"
.Nm cpio
.Fl i
.Op Fl bBcdfmrsStuvzZ6
@@ -55,12 +55,12 @@
.Op Fl H Ar format
.Op Fl I Ar archive
.Op Ar "pattern ..."
-.Op Ar "< archive"
+.Op Ar "\*[Lt] archive"
.Nm cpio
.Fl p
.Op Fl adlLmuv
.Ar destination-directory
-.Ar "< name-list"
+.Ar "\*[Lt] name-list"
.Sh DESCRIPTION
The
.Nm
diff -r a456cb99beb7 -r 61b7cc55844d bin/pax/tar.1
--- a/bin/pax/tar.1 Sat Oct 12 22:19:25 2002 +0000
+++ b/bin/pax/tar.1 Sat Oct 12 22:36:01 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: tar.1,v 1.1 2002/10/12 15:30:54 christos Exp $
+.\" $NetBSD: tar.1,v 1.2 2002/10/12 22:36:01 wiz Exp $
.\"
.\" Copyright (c) 1996 SigmaSoft, Th. Lockert
.\" All rights reserved.
@@ -28,7 +28,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" OpenBSD: tar.1,v 1.28 2000/11/09 23:58:56 aaron Exp
+.\" OpenBSD: tar.1,v 1.28 2000/11/09 23:58:56 aaron Exp
.\"
.Dd January 31, 2001
.Dt TAR 1
@@ -54,7 +54,8 @@
command creates, adds files to, or extracts files from an
archive file in
.Dq tar
-format. A tar archive is often stored on a magnetic tape, but can be
+format.
+A tar archive is often stored on a magnetic tape, but can be
stored equally well on a floppy, CD-ROM, or in a regular disk file.
.Pp
One of the following flags must be present:
@@ -152,12 +153,12 @@
.Cm old
is a basic regular expression and
.Cm new
-can contain an ampersand (&), \\n (where n is a digit) back-references,
+can contain an ampersand (\*[Am]), \\n (where n is a digit) back-references,
or subexpression matching.
The
.Cm old
string may also contain
-.Dv <newline>
+.Aq Dv newline
characters.
Any non-null character can be used as a delimiter (/ is shown here).
Multiple
@@ -178,7 +179,7 @@
will cause the final result of a successful substitution to be written to
.Dv standard error
in the following format:
-.Dl <original pathname> >> <new pathname>
+.Dl \*[Lt]original pathname\*[Gt] \*[Gt]\*[Gt] \*[Lt]new pathname\*[Gt]
File or archive member names that substitute to the empty string
are not selected and will be skipped.
.It Fl v
@@ -206,7 +207,7 @@
.Em Warning!
This flag has the opposite meaning in some other versions of
.Nm tar ,
-including the one in AT&T Bell Labs Research Tenth Edition, and its
+including the one in AT\*[Am]T Bell Labs Research Tenth Edition, and its
meaning is completely different and unrelated to symlinks in GNU Tar.
.\" No wonder the world needs Pax!
.It Fl P
@@ -229,6 +230,11 @@
.Op Fl 014578
can be used to select one of the compiled-in backup devices,
.Pa /dev/rstN .
+.Sh FILES
+.Bl -tag -width "/dev/rst0"
+.It Pa /dev/rst0
+default archive name
+.El
.Sh DIAGNOSTICS
.Nm
will exit with one of the following values:
@@ -267,21 +273,16 @@
.Nm
may have only partially created the archive which may violate the
specific archive format specification.
-.Sh FILES
-.Bl -tag -width "/dev/rst0"
-.It Pa /dev/rst0
-default archive name
-.El
.Sh SEE ALSO
.Xr cpio 1 ,
.Xr pax 1
-.Sh AUTHORS
-Keith Muller at the University of California, San Diego.
.Sh HISTORY
A
.Nm
command first appeared in
.At v7 .
+.Sh AUTHORS
+Keith Muller at the University of California, San Diego.
.Sh BUGS
The
.Fl L
Home |
Main Index |
Thread Index |
Old Index