summaryrefslogtreecommitdiff
path: root/bin/pax
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pax')
-rw-r--r--bin/pax/pax.120
-rw-r--r--bin/pax/tar.112
2 files changed, 16 insertions, 16 deletions
diff --git a/bin/pax/pax.1 b/bin/pax/pax.1
index 8790f2c412b..80d087715dd 100644
--- a/bin/pax/pax.1
+++ b/bin/pax/pax.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pax.1,v 1.34 2002/10/18 15:38:11 millert Exp $
+.\" $OpenBSD: pax.1,v 1.35 2003/03/12 20:12:35 deraadt Exp $
.\" $NetBSD: pax.1,v 1.3 1995/03/21 09:07:37 cgd Exp $
.\"
.\" Copyright (c) 1992 Keith Muller.
@@ -1055,26 +1055,26 @@ options are specified along with the
option, a file is not considered selected unless it is newer
than the file to which it is compared.
.Sh EXAMPLES
-.Cm $ pax -w -f /dev/rst0 \&.
+.Li $ pax -w -f /dev/rst0 \&.
.Pp
Copies the contents of the current directory to the device
.Pa /dev/rst0 .
.Pp
-.Cm $ pax -v -f filename
+.Li $ pax -v -f filename
.Pp
Gives the verbose table of contents for an archive stored in
.Pa filename .
.Pp
-.Cm $ mkdir newdir ;
-.Cm cd olddir ;
-.Cm pax -rw \&. newdir
+.Li $ mkdir newdir ;
+.Li cd olddir ;
+.Li pax -rw \&. newdir
.Pp
This sequence of commands will copy the entire
.Pa olddir
directory hierarchy to
.Pa newdir .
.Pp
-.Cm $ pax -r -s ',^//*usr//*,,' -f a.pax
+.Li $ pax -r -s ',^//*usr//*,,' -f a.pax
.Pp
Reads the archive
.Pa a.pax ,
@@ -1082,13 +1082,13 @@ with all files rooted in
.Pa /usr
into the archive extracted relative to the current directory.
.Pp
-.Cm $ pax -rw -i \&. dest_dir
+.Li $ pax -rw -i \&. dest_dir
.Pp
Can be used to interactively select the files to copy from the current
directory to
.Pa dest_dir .
.Pp
-.Cm $ pax -r -pe -U root -G bin -f a.pax
+.Li $ pax -r -pe -U root -G bin -f a.pax
.Pp
Extract all files from the archive
.Pa a.pax
@@ -1098,7 +1098,7 @@ with group
.Em bin
and preserve all file permissions.
.Pp
-.Cm "$ pax -r -w -v -Y -Z home /backup"
+.Li "$ pax -r -w -v -Y -Z home /backup"
.Pp
Update (and list) only those files in the destination directory
.Pa /backup
diff --git a/bin/pax/tar.1 b/bin/pax/tar.1
index eae6606dcd4..f9760d2190f 100644
--- a/bin/pax/tar.1
+++ b/bin/pax/tar.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tar.1,v 1.39 2002/06/09 05:33:42 todd Exp $
+.\" $OpenBSD: tar.1,v 1.40 2003/03/12 20:12:35 deraadt 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.39 2002/06/09 05:33:42 todd Exp $
+.\" $OpenBSD: tar.1,v 1.40 2003/03/12 20:12:35 deraadt Exp $
.\"
.Dd February 7, 2001
.Dt TAR 1
@@ -227,7 +227,7 @@ The options
can be used to select one of the compiled-in backup devices,
.Pa /dev/rstN .
.Sh EXAMPLES
-.Cm $ tar c bonvole sekve
+.Li $ tar c bonvole sekve
.Pp
Creates an archive on the default tape drive, containing the files named
.Pa bonvole
@@ -235,7 +235,7 @@ and
.Pa sekve
.
.Pp
-.Cm $ tar zcf foriru.tar.gz bonvole sekve
+.Li $ tar zcf foriru.tar.gz bonvole sekve
.Pp
Outputs a
.Xr gzip 1
@@ -246,7 +246,7 @@ and
to a file called
.Pa foriru.tar.gz
.Pp
-.Cm $ tar zcvf backup.tar.gz *.c
+.Li $ tar zcvf backup.tar.gz *.c
.Pp
Verbosely creates an archive, called
.Pa backup.tar.gz
@@ -255,7 +255,7 @@ Verbosely creates an archive, called
function
.Pa *.c
.Pp
-.Cm $ tar tvzf backup.tar.gz '*.jpeg'
+.Li $ tar tvzf backup.tar.gz '*.jpeg'
.Pp
Verbosely lists, but does not extract, all files ending in
.Pa .jpeg