pax.1 patch

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

pax.1 patch

patrick keshishian
I was reading the pax(1) man page and going over
the EXAMPLES section I thought one of the examples [1]
was incorrect, unless I misunderstood the intended
result of the example given.

I believe this patch fixes it (hopefully gmail doesn't
screw up the copy paste of cvs diff -upN)


Best regards,
--patrick

Index: pax.1
===================================================================
RCS file: /cvs/src/bin/pax/pax.1,v
retrieving revision 1.49
diff -u -p -r1.49 pax.1
--- pax.1       24 Feb 2007 09:50:55 -0000      1.49
+++ pax.1       6 Mar 2007 00:14:45 -0000
@@ -1055,11 +1055,11 @@ $ pax -rw . ../newdir
 .Pp
 Read the archive
 .Pa a.pax ,
-with all files rooted in
+extract all files rooted in
 .Pa /usr
-into the archive extracted relative to the current directory:
+relative to the current directory:
 .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

Reply | Threaded
Open this post in threaded view
|

Re: pax.1 patch

Jason McIntyre-2
On Mon, Mar 05, 2007 at 04:21:22PM -0800, patrick keshishian wrote:

> I was reading the pax(1) man page and going over
> the EXAMPLES section I thought one of the examples [1]
> was incorrect, unless I misunderstood the intended
> result of the example given.
>
> I believe this patch fixes it (hopefully gmail doesn't
> screw up the copy paste of cvs diff -upN)
>
>
> Best regards,
> --patrick
>
> Index: pax.1
> ===================================================================
> RCS file: /cvs/src/bin/pax/pax.1,v
> retrieving revision 1.49
> diff -u -p -r1.49 pax.1
> --- pax.1       24 Feb 2007 09:50:55 -0000      1.49
> +++ pax.1       6 Mar 2007 00:14:45 -0000
> @@ -1055,11 +1055,11 @@ $ pax -rw . ../newdir
> .Pp
> Read the archive
> .Pa a.pax ,
> -with all files rooted in
> +extract all files rooted in
> .Pa /usr
> -into the archive extracted relative to the current directory:
> +relative to the current directory:
> .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

fix taken, slightly modified. thanks for the mail.
jmc