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

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Fri May 28 14:47:16 PDT 2004


jwrober     04/05/28 15:47:16

  Modified:    docs/syntax_doc/alfs_dtd elem_execute.xml
  Log:
  * cleanup
  
  Revision  Changes    Path
  1.10      +12 -9     ALFS/docs/syntax_doc/alfs_dtd/elem_execute.xml
  
  Index: elem_execute.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_execute.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- elem_execute.xml	23 Feb 2004 04:06:00 -0000	1.9
  +++ elem_execute.xml	28 May 2004 21:47:16 -0000	1.10
  @@ -28,17 +28,15 @@
   <title>Description</title>
   
   <para>The element <filename>execute</filename> is one of the many main
  -operation elements. It is used to execute an arbitrary command.</para>
  +operation elements. It is used to execute any arbitrary system
  +command.</para>
   
  -<para>The sub-element <filename>param</filename> contains one or many
  -optional parameters of the command.</para>
  +<para>The sub-element <filename>param</filename> contains parameters for
  +the command.</para>
   
   <para>The sub-element <filename>prefix</filename> contains any prefix data
   for the command to execute.</para>
   
  -<para>Both sub-elements are optional, but if used can be used more than
  -once.</para>
  -
   <para>The attribute <filename>base</filename> allows you to specify the
   directory in which the command will be executed. See 
   <xref linkend="elem_base"/>.</para>
  @@ -49,7 +47,7 @@
   </sect2>
   
   <sect2>
  -<title>Examples</title>
  +<title>Example #1</title>
   
   <para>The first example is an execute command without a parameter.</para>
   
  @@ -60,16 +58,21 @@
   <screen><userinput>echo Executing 'umount'
   <command>umount</command></userinput></screen>
   
  +</sect2>
  +
  +<sect2>
  +<title>Example #2</title>
  +
   <para>The second example is an execute command with one parameter.</para>
   
   <screen><userinput><execute command="mount">
  -	<param>/mnfs/lfs</param>
  +	<param>/mount/lfs</param>
   </execute></userinput></screen>
   
   <para>The equivalent bash script is :</para>
   
   <screen><userinput>echo Executing 'mount'
  -<command>mount /mnfs/lfs</command></userinput></screen>
  +<command>mount /mount/lfs</command></userinput></screen>
   
   </sect2>
   
  
  
  



More information about the alfs-log mailing list