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

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Sun Feb 22 19:15:43 PST 2004


jwrober     04/02/22 20:15:43

  Modified:    docs/syntax_doc/alfs_dtd elem_patch.xml
  Log:
  finished first pass across all elements
  
  Revision  Changes    Path
  1.6       +25 -27    ALFS/docs/syntax_doc/alfs_dtd/elem_patch.xml
  
  Index: elem_patch.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_patch.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- elem_patch.xml	4 Nov 2003 03:07:50 -0000	1.5
  +++ elem_patch.xml	23 Feb 2004 03:15:43 -0000	1.6
  @@ -6,20 +6,19 @@
   <title>Syntax</title>
   
   <synopsis>
  -<!ELEMENT patch          (param*)>
  +<!ELEMENT patch          ((param | prefix)*)>
   <!ATTLIST patch
  -          base           CDATA #IMPLIED>
  +             base           CDATA #IMPLIED>
   </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_param">param</link>,
  +<para>See also :  
  +<xref linkend="elem_param"/>  |  
  +<xref linkend="elem_prefix"/>
   </para>
   
   </sect2>
  @@ -27,31 +26,30 @@
   <sect2>
   <title>Description</title>
   
  -<para>The element <token>patch</token> is used to execute the patch command.</para>
  +<para>The element <filename>patch</filename> is one of the many main
  +operation elements.  It is used to execute the patch command.</para>
   
  -<para>The sub-elements <token>param</token> contain the parameters of the command.</para>
  +<para>The sub-elements <filename>param</filename> contain the parameters of
  +the command.</para>
  +
  +<para>The attribute <filename>base</filename> specified the directory in
  +which the command will be performed.</para>
   
  -<para>The attribute <token>base</token> specified the directory in which
  -the command will be performed.</para>
   </sect2>
   
   <sect2>
   <title>Examples</title>
   
  -<programlisting>
  -<patch>
  -    <param>-N</param>
  -    <param>-p1</param>
  -    <param>-i ../gawk-3.1.1.patch</param>
  -</patch>
  -</programlisting>
  -
  -<para>The equivalent bash script is :</para>
  -
  -<programlisting>
  -echo 'patch -N -p1 -i ../gawk-3.1.1.patch'
  -patch -N -p1 -i ../gawk-3.1.1.patch
  -</programlisting>
  +<userinput><screen><patch>
  +	<param>-N</param>
  +	<param>-p1</param>
  +	<param>-i ../gawk-3.1.1.patch</param>
  +</patch></screen></userinput>
  +
  +<para>The equivalent bash script is :</para>
  +
  +<userinput><screen>echo 'patch -N -p1 -i ../gawk-3.1.1.patch'
  +<command>patch -N -p1 -i ../gawk-3.1.1.patch</command></screen></userinput>
   
   </sect2>
   
  
  
  



More information about the alfs-log mailing list