On 23/08/03 04:26PM, Jason McIntyre wrote:
> On Thu, Aug 03, 2023 at 11:05:16AM -0400, aisha wrote:
> > On 23/08/03 10:51AM, aisha wrote:
> > > On 23/08/03 09:45AM, Stuart Henderson wrote:
> > > > On 2023/08/03 07:23, Jason McIntyre wrote:
> > > > > On Wed, Aug 02, 2023 at 05:52:02PM -0400, aisha wrote:

> yes, thanks! ok.
> 
> but you should change the text from
> 
>       Create a gzip(1) compressed archive ... to a file called...
> to
>       Create a gzip(1) compressed archive, called XXX, containing the
>       files ...
> 
> as i suggested, because the syntax "create ... to a file" reads badly.
> 

Thanks, fixed.

OK?

Index: tar.1
===================================================================
RCS file: /cvs/src/bin/pax/tar.1,v
retrieving revision 1.64
diff -u -p -r1.64 tar.1
--- tar.1       31 Mar 2022 17:27:14 -0000      1.64
+++ tar.1       3 Aug 2023 16:14:11 -0000
@@ -331,16 +331,16 @@ and
 .Pp
 .Dl $ tar c bonvole sekve
 .Pp
-Output a
+Create a
 .Xr gzip 1
-compressed archive containing the files
+compressed archive, called
+.Pa foriru.tar.gz ,
+containing the files
 .Pa bonvole
 and
-.Pa sekve
-to a file called
-.Pa foriru.tar.gz :
+.Pa sekve :
 .Pp
-.Dl $ tar zcf foriru.tar.gz bonvole sekve
+.Dl $ tar czf foriru.tar.gz bonvole sekve
 .Pp
 Verbosely create an archive, called
 .Pa backup.tar.gz ,
@@ -349,7 +349,7 @@ of all files matching the shell
 function
 .Pa *.c :
 .Pp
-.Dl $ tar zcvf backup.tar.gz *.c
+.Dl $ tar cvzf backup.tar.gz *.c
 .Pp
 Verbosely list, but do not extract, all files ending in
 .Pa .jpeg
@@ -358,6 +358,13 @@ from a compressed archive named
 Note that the glob pattern has been quoted to avoid expansion by the shell:
 .Pp
 .Dl $ tar tvzf backup.tar.gz '*.jpeg'
+.Pp
+Verbosely extract an archive, called
+.Pa foo.tar.gz ,
+to the directory
+.Pa /var/foo :
+.Pp
+.Dl $ tar xvzf foo.tar.gz -C /var/foo
 .Pp
 For more detailed examples, see
 .Xr pax 1 .

Reply via email to