cvs commit: ALFS/docs/syntax_doc/alfs_dtd elem_unpack.xml

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Sun Feb 22 19:18:11 PST 2004


jwrober     04/02/22 20:18:11

  Modified:    docs/syntax_doc/alfs_dtd elem_unpack.xml
  Log:
  finished first pass across all elements
  
  Revision  Changes    Path
  1.6       +25 -29    ALFS/docs/syntax_doc/alfs_dtd/elem_unpack.xml
  
  Index: elem_unpack.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_unpack.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- elem_unpack.xml	4 Nov 2003 03:07:50 -0000	1.5
  +++ elem_unpack.xml	23 Feb 2004 03:18:11 -0000	1.6
  @@ -6,21 +6,19 @@
   <title>Syntax</title>
   
   <synopsis>
  -<!ELEMENT unpack         (digest?,reference?,archive,destination)>
  +<!ELEMENT unpack         (digest?, reference*, archive, destination)>
   </synopsis>
   
  -<para>This element occurs in the elements
  -<link linkend="elem_alfs">alfs</link>,
  -<link linkend="elem_alfs">else</link>,
  -<link linkend="elem_stage">stage</link>.
  -and <link linkend="elem_then">then</link>
  +<para>This element occurs in the elements :  
  +<xref linkend="elem_alfs"/>  |  
  +<xref linkend="elem_stage"/>
   </para>
   
  -<para>See also :
  -<link linkend="elem_archive">archive</link>,
  -<link linkend="elem_destination">destination</link>,
  -<link linkend="elem_digest">digest</link>,
  -<link linkend="elem_reference">reference</link>,
  +<para>See also :  
  +<xref linkend="elem_archive"/>  |  
  +<xref linkend="elem_destination"/>  |  
  +<xref linkend="elem_digest"/>  |  
  +<xref linkend="elem_reference"/>
   </para>
   
   </sect2>
  @@ -28,16 +26,17 @@
   <sect2>
   <title>Description</title>
   
  -<para>This element is used to unpack an archive into a destination directory</para>
  +<para>The element <filename>unpack</filename> is one of the many main
  +operation elements.  It is used to unpack an archive into a destination directory</para>
   
  -<para>The sub-element <token>reference</token> gives the URL of the archive, which
  +<para>The sub-element <filename>reference</filename> gives the URL of the archive, which
   is used if the archive file is not available locally.</para>
   
  -<para>The sub-element <token>digest</token> gives the digest of the archive, as computed
  -by openssl, using the digest type specified in the attribute <token>type</token>.</para>
  +<para>The sub-element <filename>digest</filename> gives the digest of the archive, as computed
  +by openssl, using the digest type specified in the attribute <filename>type</filename>.</para>
   
  -<para>The sub-element <token>archive</token> gives the name of the archive,
  -and the sub-element <token>destination</token> given the name of the directory
  +<para>The sub-element <filename>archive</filename> gives the name of the archive,
  +and the sub-element <filename>destination</filename> given the name of the directory
   in which the archive is unpacked</para>
   
   <para>The choice of the program performing the unpacking is based on the
  @@ -62,18 +61,16 @@
   <sect2>
   <title>Examples</title>
   
  -<programlisting>
  -<unpack>
  -    <digest>cbe9f79450aeecfb06d5e856af16c2cf</digest>
  -    <reference>ftp://ftp.gnu.org/gnu/gzip/gzip.1.2.4a.tar.gz</reference>
  -    <archive>/usr/src/lfs-packages/gzip.1.2.4a.tar.gz</archive>
  -    <destination>/usr/src</destination>
  -</unpack>
  -</programlisting>
  +<userinput><screen><unpack>
  +    <digest>cbe9f79450aeecfb06d5e856af16c2cf</digest>
  +    <reference>ftp://ftp.gnu.org/gnu/gzip/gzip.1.2.4a.tar.gz</reference>
  +    <archive>/usr/src/lfs-packages/gzip.1.2.4a.tar.gz</archive>
  +    <destination>/usr/src</destination>
  +</unpack></screen></userinput>
   
  -<para>The equivalent bash script is :</para>
  +<para>The equivalent bash script is :</para>
   
  -<programlisting>
  +<userinput><screen>
   echo Unpacking /usr/src/lfs-packages/gzip.1.2.4a.tar.gz into /usr/src
   [[ ! -f /usr/src/lfs-packages/gzip.1.2.4a.tar.gz ]] &&
     echo Retrieving  ftp://ftp.gnu.org/gnu/gzip/gzip.1.2.4a.tar.gz
  @@ -83,8 +80,7 @@
     echo Archive does not exist && exit 3
   
   cd /usr/src
  -tar xzvf /usr/src/lfs-packages/gzip.1.2.4a.tar.gz
  -</programlisting>
  +<command>tar xzvf /usr/src/lfs-packages/gzip.1.2.4a.tar.gz</command></screen></userinput>
   
   </sect2>
   
  
  
  



More information about the alfs-log mailing list