diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-03-06 14:40:23 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-03-06 14:40:23 +0000 |
commit | 53b43dacb0d969a94465c304fd6194fea66a8f6e (patch) | |
tree | 9077f6efd24c69b0de64916e27522ca7919458a4 /bin | |
parent | 6f4558b0e7303aba18867deec62006e34dbc441a (diff) |
clarify an example; from patrick keshishian
help/ok otto
Diffstat (limited to 'bin')
-rw-r--r-- | bin/pax/pax.1 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/bin/pax/pax.1 b/bin/pax/pax.1 index b3367670cd0..6afcd1cb50d 100644 --- a/bin/pax/pax.1 +++ b/bin/pax/pax.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pax.1,v 1.49 2007/02/24 09:50:55 jmc Exp $ +.\" $OpenBSD: pax.1,v 1.50 2007/03/06 14:40:22 jmc Exp $ .\" $NetBSD: pax.1,v 1.3 1995/03/21 09:07:37 cgd Exp $ .\" .\" Copyright (c) 1992 Keith Muller. @@ -1053,13 +1053,14 @@ $ cd olddir $ pax -rw . ../newdir .Ed .Pp -Read the archive -.Pa a.pax , -with all files rooted in +Extract files from the archive +.Pa a.pax . +Files rooted in .Pa /usr -into the archive extracted relative to the current directory: +are extracted relative to the current working directory; +all other files are extracted to their unmodified path. .Pp -.Dl $ pax -r -s ',^//*usr//*,,' -f a.pax +.Dl $ pax -r -s ',^/usr/,,' -f a.pax .Pp This can be used to interactively select the files to copy from the current directory to |