Use a comma prior to a command.
Indicate that tar will automatically detect the format of the file. Approved by: bcr (mentor)
This commit is contained in:
parent
a16e33d9e9
commit
6ea4a1119d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40076
1 changed files with 5 additions and 2 deletions
|
@ -947,12 +947,15 @@
|
||||||
compressed using &man.bzip2.1;, can be found in
|
compressed using &man.bzip2.1;, can be found in
|
||||||
<filename>doc/en_US.ISO8859-1/books/faq/book.html-split.tar.bz2</filename>
|
<filename>doc/en_US.ISO8859-1/books/faq/book.html-split.tar.bz2</filename>
|
||||||
To download and uncompress that file you would have
|
To download and uncompress that file you would have
|
||||||
to do this.</para>
|
to do this:</para>
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/faq/book.html-split.tar.bz2</userinput>
|
<screen>&prompt.root; <userinput>fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/faq/book.html-split.tar.bz2</userinput>
|
||||||
&prompt.root; <userinput>tar xvf book.html-split.tar.bz2</userinput></screen>
|
&prompt.root; <userinput>tar xvf book.html-split.tar.bz2</userinput></screen>
|
||||||
|
|
||||||
<para>You will be left with a collection of
|
<para>If the file is compressed,
|
||||||
|
<application>tar</application> will automatically
|
||||||
|
detect the appropriate format and decompress it correctly.
|
||||||
|
You will be left with a collection of
|
||||||
<filename>.html</filename> files. The main one is called
|
<filename>.html</filename> files. The main one is called
|
||||||
<filename>index.html</filename>, which will contain the
|
<filename>index.html</filename>, which will contain the
|
||||||
table of contents, introductory material, and links to the
|
table of contents, introductory material, and links to the
|
||||||
|
|
Loading…
Reference in a new issue