Ignore:
Timestamp:
05/22/2005 10:45:25 AM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
56ab82c
Parents:
384039a
Message:

Fixed some screen tags.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4449 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • introduction/important/unpacking.xml

    r384039a r3ba3f58  
    1616  <title>Notes on Building Software</title>
    1717
    18   <para>Those people who have built an LFS system will be aware 
     18  <para>Those people who have built an LFS system will be aware
    1919  of the general principles of downloading and unpacking software.  We will
    2020  however repeat some of that information here for those new to building
    2121  their own software.</para>
    2222
    23   <para>Each set of installation instructions contains a URL from which you 
    24   can download the package.  We do however keep a selection of patches 
    25   available via http.  These are referenced as needed in the installation 
     23  <para>Each set of installation instructions contains a URL from which you
     24  can download the package.  We do however keep a selection of patches
     25  available via http.  These are referenced as needed in the installation
    2626  instructions.</para>
    2727
     
    4343    the following commands:</para>
    4444
    45 <screen><command>tar -xvf filename.tar.gz
     45<screen><userinput>tar -xvf filename.tar.gz
    4646tar -xvf filename.tgz
    4747tar -xvf filename.tar.Z
    48 tar -xvf filename.tar.bz2</command></screen>
     48tar -xvf filename.tar.bz2</userinput></screen>
    4949
    5050    <para>You can also use a slightly different method:</para>
    5151
    52 <screen><command>bzcat filename.tar.bz2 | tar -xv</command></screen>
     52<screen><userinput>bzcat filename.tar.bz2 | tar -xv</userinput></screen>
    5353
    5454    <para>Finally, you sometimes need to be able to unpack patches which are
    5555    generally not tar'ed.  The best way to do this is to copy the patch file to
    5656    <filename>/usr/src</filename> and then to run one of the following commands
    57     depending on whether the file is <filename>.gz</filename> or 
     57    depending on whether the file is <filename>.gz</filename> or
    5858    <filename>.bz2</filename>:</para>
    5959
    60 <screen><command>gunzip -v patchname.gz
    61 bunzip2 -v patchname.bz2</command></screen>
     60<screen><userinput>gunzip -v patchname.gz
     61bunzip2 -v patchname.bz2</userinput></screen>
    6262
    6363  </sect2>
     
    7373    run the following command:</para>
    7474
    75 <screen><command>md5sum -c file.md5sum</command></screen>
     75<screen><userinput>md5sum -c file.md5sum</userinput></screen>
    7676
    7777    <para>If there are any errors, they will be reported.</para>
     
    8888    command you intend to execute.</para>
    8989
    90 <screen><command>( &lt;command&gt; 2&gt;&amp;1 | tee compile.log &amp;&amp; exit $PIPESTATUS )</command></screen>
     90<screen><userinput>( &lt;command&gt; 2&gt;&amp;1 | tee compile.log &amp;&amp; exit $PIPESTATUS )</userinput></screen>
    9191
    92     <para><option>2&gt;&amp;1</option> redirects error messages to the same 
    93     location as standard output. The <command>tee</command> command allows 
     92    <para><option>2&gt;&amp;1</option> redirects error messages to the same
     93    location as standard output. The <command>tee</command> command allows
    9494    viewing of the output while logging the results to a file. The parentheses
    9595    around the command run the entire command in a subshell and finally the
    96     <command>exit $PIPESTATUS</command> ensures the result of the 
    97     &lt;command&gt; is returned as the result and not the result of the 
     96    <command>exit $PIPESTATUS</command> ensures the result of the
     97    &lt;command&gt; is returned as the result and not the result of the
    9898    <command>tee</command> command.</para>
    9999
Note: See TracChangeset for help on using the changeset viewer.