cvs commit: ALFS/docs/syntax_doc/alfs_dtd elem_mkdir.xml elem_move.xml

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Sun Feb 22 19:13:31 PST 2004


jwrober     04/02/22 20:13:31

  Modified:    docs/syntax_doc/alfs_dtd elem_mkdir.xml elem_move.xml
  Log:
  finished first pass across all elements
  
  Revision  Changes    Path
  1.6       +29 -29    ALFS/docs/syntax_doc/alfs_dtd/elem_mkdir.xml
  
  Index: elem_mkdir.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_mkdir.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- elem_mkdir.xml	4 Nov 2003 03:07:50 -0000	1.5
  +++ elem_mkdir.xml	23 Feb 2004 03:13:31 -0000	1.6
  @@ -6,21 +6,20 @@
   <title>Syntax</title>
   
   <synopsis>
  -<!ELEMENT mkdir          (option?, name+)>
  +<!ELEMENT mkdir          (option?, name+, permissions?)>
   <!ATTLIST mkdir
  -          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_option">option</link>,
  -<link linkend="elem_name">name</link>,
  +<para>See also :  
  +<xref linkend="elem_option"/>  |  
  +<xref linkend="elem_name"/>  |  
  +<xref linkend="elem_permissions"/>
   </para>
   
   </sect2>
  @@ -28,16 +27,21 @@
   <sect2>
   <title>Description</title>
   
  -<para>The element <token>mkdir</token> describes the creation of one
  -(or several) directory(ies).</para>
  +<para>The element <filename>mkdir</filename> is one of the many main
  +operation elements. It describes the creation of one (or several)
  +directory(ies).</para>
   
  -<para>The sub-elements <token>name</token> contains the name(s) of the directory(ies)
  -to be created.</para>
  +<para>The sub-element <filename>option</filename> FILL IN HERE.</para>
   
  -<para>The attribute <token>base</token> gives the name of the directory
  -in which the new directory will be created.</para>
  +<para>The sub-elements <filename>name</filename> contains the name(s) of
  +the directory(ies) to be created.</para>
   
  -<para>The only option supported is "parents". When specified, the parents
  +<para>The sub-element <filename>permissions</filename> FILL IN HERE.</para>
  +
  +<para>The attribute <filename>base</filename> gives the name of the
  +directory in which the new directory will be created.</para>
  +
  +<para>The only option supported is "parents". When specified, the parents
   directories are created as needed.</para>
   
   </sect2>
  @@ -45,21 +49,17 @@
   <sect2>
   <title>Examples</title>
   
  -<programlisting>
  -<mkdir base="/usr/local/lib">
  -   <option>parents</option>
  -   <name>X11</name>
  -</mkdir>
  -</programlisting>
  +<userinput><screen><mkdir base="/usr/local/lib">
  +	<option>parents</option>
  +	<name>X11</name>
  +</mkdir></screen></userinput>
   
  -<para>The equivalent bash script is :</para>
  +<para>The equivalent bash script is :</para>
   
  -<programlisting>
  -cd /usr/local/lib
  +<userinput><screen>cd /usr/local/lib
   echo Making directory X11
  -mkdir -p X11
  -</programlisting>
  -
  +<command>mkdir -p X11</command></screen></userinput>
   
   </sect2>
  +
   </sect1>
  
  
  
  1.6       +35 -31    ALFS/docs/syntax_doc/alfs_dtd/elem_move.xml
  
  Index: elem_move.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_move.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- elem_move.xml	4 Nov 2003 03:07:50 -0000	1.5
  +++ elem_move.xml	23 Feb 2004 03:13:31 -0000	1.6
  @@ -6,22 +6,20 @@
   <title>Syntax</title>
   
   <synopsis>
  -<!ELEMENT move           (option?, source+, destination)>
  +<!ELEMENT move           (option?, source+, destination)>
   <!ATTLIST move
  -          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_option">option</link>,
  -<link linkend="elem_source">source</link>,
  -<link linkend="elem_destination">destination</link>.
  +<para>See also :  
  +<xref linkend="elem_option"/>  |  
  +<xref linkend="elem_source"/>  |  
  +<xref linkend="elem_destination"/>
   </para>
   
   </sect2>
  @@ -29,10 +27,12 @@
   <sect2>
   <title>Description</title>
   
  -<para>The element <token>move</token> is used to move one or several source
  -files and/or directories  into a destination file or directory</para>
  +<para>The element <filename>move</filename> is one of the many main
  +operation elements. It is used to move one or several source
  +files and/or directories into a destination file or directory.</para>
   
  -<para>The supported option is an option of the mv command:
  +<para>The sub-element <filename>option</filename> is an option of the
  +<command>mkdir</command> command:
   <itemizedlist>
   <listitem><para>force</para></listitem>
   </itemizedlist>.
  @@ -41,29 +41,33 @@
   <para>When processing this element, one moves each source
   to the destination, using the specified option if present.</para>
   
  -<para>When the attribute <token>base</token> is specified,
  -it should contain the name of the current directory
  -from which the move operation is performed.
  -</para>
  +<para>The sub-elements <filename>source</filename> contains the name(s) of
  +the directory were the source file is.</para>
  +
  +<para>The sub-element <filename>destination</filename> contains the name of
  +the destination directory for the <command>mv</command> command.</para>
  +
  +<para>The attribute <filename>base</filename> gives the name of the
  +directory in which the new directory will be created.</para>
  +
  +<para>When the attribute <filename>base</filename> is specified, it should
  +contain the name of the current directory from which the move operation is
  +performed. </para>
   
   </sect2>
   
   <sect2>
   <title>Examples</title>
   
  -<programlisting>
  -<move>
  -    <source>/usr/src/mypackage/config.txt</source>
  -    <destination>/opt/mypackage/config.txt</destination>
  -</move>
  -</programlisting>
  -
  -<para>The equivalent bash script is :</para>
  -
  -<programlisting>
  -echo Move ' /usr/src/mypackage/config.txt /opt/mypackage/config.txt'
  -mv  /usr/src/mypackage/config.txt /opt/mypackage/config.txt
  -</programlisting>
  +<userinput><screen><move>
  +	<source>/usr/src/mypackage/config.txt</source>
  +	<destination>/opt/mypackage/config.txt</destination>
  +</move></screen></userinput>
  +
  +<para>The equivalent bash script is :</para>
  +
  +<userinput><screen>echo Move ' /usr/src/mypackage/config.txt /opt/mypackage/config.txt'
  +<command>mv /usr/src/mypackage/config.txt /opt/mypackage/config.txt</command></screen></userinput>
   
   </sect2>
   
  
  
  



More information about the alfs-log mailing list