Blame SOURCES/pax-3.4-manpage.patch

500f6d
diff --git a/src/pax.1 b/src/pax.1
500f6d
index cd85bb0..6320bcc 100644
500f6d
--- a/src/pax.1
500f6d
+++ b/src/pax.1
500f6d
@@ -38,10 +38,10 @@
500f6d
 .Dt PAX 1
500f6d
 .Os
500f6d
 .Sh NAME
500f6d
-.Nm pax
500f6d
-.Nd read and write file archives and copy directory hierarchies
500f6d
+.Nm opax
500f6d
+.Nd read and write file archives and copy directory hierarchies (OpenBSD \fIpax\fR implementation)
500f6d
 .Sh SYNOPSIS
500f6d
-.Nm pax
500f6d
+.Nm
500f6d
 .Op Fl 0cdOnvz
500f6d
 .Bk -words
500f6d
 .Op Fl f Ar archive
500f6d
@@ -67,7 +67,7 @@
500f6d
 .Ar ...
500f6d
 .Ek
500f6d
 .Op Ar pattern ...
500f6d
-.Nm pax
500f6d
+.Nm
500f6d
 .Fl r
500f6d
 .Op Fl cdiknuvzDOYZ
500f6d
 .Bk -words
500f6d
@@ -103,7 +103,7 @@
500f6d
 .Ar ...
500f6d
 .Ek
500f6d
 .Op Ar pattern ...
500f6d
-.Nm pax
500f6d
+.Nm
500f6d
 .Fl w
500f6d
 .Op Fl 0dituvzHLOPX
500f6d
 .Bk -words
500f6d
@@ -145,7 +145,7 @@
500f6d
 .Ar ...
500f6d
 .Ek
500f6d
 .Op Ar file ...
500f6d
-.Nm pax
500f6d
+.Nm
500f6d
 .Fl r
500f6d
 .Fl w
500f6d
 .Op Fl 0diklntuvDHLOPXYZ
500f6d
@@ -647,7 +647,7 @@ are not selected and will be skipped.
500f6d
 Reset the access times of any file or directory read or accessed by
500f6d
 .Nm
500f6d
 to be the same as they were before being read or accessed by
500f6d
-.Nm pax .
500f6d
+.Nm .
500f6d
 .It Fl u
500f6d
 Ignore files that are older (having a less recent file modification time)
500f6d
 than a pre-existing file or archive member with the same name.
500f6d
@@ -733,7 +733,7 @@ and is repaired.
500f6d
 The old BSD tar format as found in BSD4.3.
500f6d
 The default blocksize for this format is 10240 bytes.
500f6d
 Pathnames stored by this format must be 100 characters or less in length
500f6d
-(including the trailing \0 character, which means that filenames can have 
500f6d
+(including the trailing \0 character, which means that filenames can have
500f6d
 a maximum length of 99 characters).
500f6d
 Only
500f6d
 .Em regular
500f6d
@@ -753,9 +753,9 @@ The extended tar interchange format specified in the
500f6d
 standard.
500f6d
 The default blocksize for this format is 10240 bytes.
500f6d
 Filenames stored by this format must be 100 characters or less in length
500f6d
-(including the trailing \0 character, which means that filenames can have 
500f6d
+(including the trailing \0 character, which means that filenames can have
500f6d
 a maximum length of 99 characters).
500f6d
-Pathnames (directorynames + filenames) stored by this format must be 
500f6d
+Pathnames (directorynames + filenames) stored by this format must be
500f6d
 250 characters or less in length.
500f6d
 .El
500f6d
 .Pp
500f6d
@@ -1081,26 +1081,34 @@ than the file to which it is compared.
500f6d
 Path in which to store temporary files.
500f6d
 .El
500f6d
 .Sh EXAMPLES
500f6d
-.Li $ pax -w -f /dev/rst0 \&.
500f6d
+.Li $
500f6d
+.Nm
500f6d
+-w -f /dev/rst0 \&.
500f6d
 .Pp
500f6d
 Copies the contents of the current directory to the device
500f6d
 .Pa /dev/rst0 .
500f6d
 .Pp
500f6d
-.Li $ pax -v -f filename
500f6d
+.Li $
500f6d
+.Nm
500f6d
+-v -f filename
500f6d
 .Pp
500f6d
 Gives the verbose table of contents for an archive stored in
500f6d
 .Pa filename .
500f6d
 .Pp
500f6d
 .Li $ mkdir newdir ;
500f6d
 .Li cd olddir ;
500f6d
-.Li pax -rw \&. newdir
500f6d
+.Li
500f6d
+.Nm
500f6d
+-rw \&. newdir
500f6d
 .Pp
500f6d
 This sequence of commands will copy the entire
500f6d
 .Pa olddir
500f6d
 directory hierarchy to
500f6d
 .Pa newdir .
500f6d
 .Pp
500f6d
-.Li $ pax -r -s ',^//*usr//*,,' -f a.pax
500f6d
+.Li $
500f6d
+.Nm
500f6d
+-r -s ',^//*usr//*,,' -f a.pax
500f6d
 .Pp
500f6d
 Reads the archive
500f6d
 .Pa a.pax ,
500f6d
@@ -1108,13 +1116,17 @@ with all files rooted in
500f6d
 .Pa /usr
500f6d
 into the archive extracted relative to the current directory.
500f6d
 .Pp
500f6d
-.Li $ pax -rw -i \&. dest_dir
500f6d
+.Li $
500f6d
+.Nm
500f6d
+-rw -i \&. dest_dir
500f6d
 .Pp
500f6d
 Can be used to interactively select the files to copy from the current
500f6d
 directory to
500f6d
 .Pa dest_dir .
500f6d
 .Pp
500f6d
-.Li $ pax -r -pe -U root -G bin -f a.pax
500f6d
+.Li $
500f6d
+.Nm
500f6d
+-r -pe -U root -G bin -f a.pax
500f6d
 .Pp
500f6d
 Extract all files from the archive
500f6d
 .Pa a.pax
500f6d
@@ -1124,7 +1136,9 @@ with group
500f6d
 .Em bin
500f6d
 and preserve all file permissions.
500f6d
 .Pp
500f6d
-.Li "$ pax -r -w -v -Y -Z home /backup"
500f6d
+.Li "$
500f6d
+.Nm
500f6d
+-r -w -v -Y -Z home /backup"
500f6d
 .Pp
500f6d
 Update (and list) only those files in the destination directory
500f6d
 .Pa /backup
500f6d
@@ -1177,8 +1191,13 @@ and when
500f6d
 .Nm
500f6d
 completes it will exit with a non-zero exit status.
500f6d
 .Sh SEE ALSO
500f6d
+.Xr spax 1 ,
500f6d
+.Xr tar 1 ,
500f6d
+.Xr bsdtar 1 ,
500f6d
+.Xr star 1 ,
500f6d
 .Xr cpio 1 ,
500f6d
-.Xr tar 1
500f6d
+.Xr bsdcpio 1 ,
500f6d
+.Xr scpio 1
500f6d
 .Sh STANDARDS
500f6d
 The
500f6d
 .Nm