cvs commit: ALFS/docs/syntax_doc/alfs_dtd elem_target.xml elem_textdump.xml elem_then.xml

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Sun Feb 22 19:17:47 PST 2004


jwrober     04/02/22 20:17:47

  Modified:    docs/syntax_doc/alfs_dtd elem_target.xml elem_textdump.xml
                        elem_then.xml
  Log:
  finished first pass across all elements
  
  Revision  Changes    Path
  1.6       +15 -19    ALFS/docs/syntax_doc/alfs_dtd/elem_target.xml
  
  Index: elem_target.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_target.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- elem_target.xml	4 Nov 2003 03:07:50 -0000	1.5
  +++ elem_target.xml	23 Feb 2004 03:17:46 -0000	1.6
  @@ -6,11 +6,11 @@
   <title>Syntax</title>
   
   <synopsis>
  -<!ELEMENT target         (#PCDATA)>
  +<!ELEMENT target         (#PCDATA)>
   </synopsis>
   
  -<para>This element occurs in the element
  -<link linkend="elem_link">link</link>.
  +<para>This element occurs in the element :  
  +<xref linkend="elem_link"/>
   </para>
   
   </sect2>
  @@ -18,7 +18,7 @@
   <sect2>
   <title>Description</title>
   
  -<para>The element <token>target</token> describes a target of a link
  +<para>The element <filename>target</filename> describes a target of a link
   operation.</para>
   
   </sect2>
  @@ -26,21 +26,17 @@
   <sect2>
   <title>Examples</title>
   
  -<programlisting>
  -<link>
  -	<target>share/man</target>
  -	<target>share/doc</target>
  -	<target>share/info</target>
  -	<name>/usr/local</name>
  -</link>
  -</programlisting>
  -
  -<para>The equivalent bash script is :</para>
  -
  -<programlisting>
  -echo 'Linking  share/man share/doc share/info into /usr/local'
  -ln -s  share/man share/doc share/info /usr/local
  -</programlisting>
  +<userinput><screen><link>
  +	<target>share/man</target>
  +	<target>share/doc</target>
  +	<target>share/info</target>
  +	<name>/usr/local</name>
  +</link></screen></userinput>
  +
  +<para>The equivalent bash script is :</para>
  +
  +<userinput><screen>echo 'Linking  share/man share/doc share/info into /usr/local'
  +<command>ln -s  share/man share/doc share/info /usr/local</command></screen></userinput>
   
   </sect2>
   
  
  
  
  1.6       +51 -59    ALFS/docs/syntax_doc/alfs_dtd/elem_textdump.xml
  
  Index: elem_textdump.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_textdump.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- elem_textdump.xml	4 Nov 2003 03:07:50 -0000	1.5
  +++ elem_textdump.xml	23 Feb 2004 03:17:46 -0000	1.6
  @@ -6,22 +6,20 @@
   <title>Syntax</title>
   
   <synopsis>
  -<!ELEMENT textdump       (file, content)>
  +<!ELEMENT textdump       (file, content)>
   <!ATTLIST textdump
  -          base           CDATA #IMPLIED
  -          mode           CDATA #IMPLIED>
  +             base           CDATA #IMPLIED
  +             mode           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_file">file</link>,
  -<link linkend="elem_content">content</link>,
  +<para>See also :  
  +<xref linkend="elem_file"/>  |  
  +<xref linkend="elem_content"/>
   </para>
   
   </sect2>
  @@ -29,50 +27,49 @@
   <sect2>
   <title>Description</title>
   
  -<para>The sub-element <token>file</token> contains the name of the
  -file to be created.</para>
  +<para>The element <filename>textdump</filename> is one of the many main
  +operation elements.  The sub-element <filename>file</filename> contains the
  +name of the file to be created.</para>
  +
  +<para>The sub-element <filename>content</filename> is used to specify the
  +content of the file being created when processing a
  +<filename>textdump</filename> operation. When processing the textual
  +content of this element, one removes the leading blanks up to and including
  +a '=' character.</para>
   
  -<para>The sub-element <token>content</token> is used to specify the content of the
  -file being created when processing a <token>textdump</token> operation.
  -When processing the textual content of this element, one removes
  -the leading blanks up to and including a '=' character.</para>
  +<para>The attribute <filename>base</filename> allows to specify the
  +directory in which the file creation will be perforemd.</para>
   
  -<para>The attribute <token>base</token> allows to specify the directory in which
  -the file creation will be perforemd.</para>
  -
  -<para>The attribute <token>mode</token> allows to specify the append creation mode
  -</para>
  +<para>The attribute <filename>mode</filename> allows to specify the append
  +creation mode.</para>
   
   </sect2>
   
   <sect2>
   <title>Examples</title>
   
  -<programlisting>
  -<textdump base="/etc">
  -        <file>group</file>
  -
  -        <content>
  -                =root:x:0:
  -                =bin:x:1:
  -                =sys:x:2:
  -                =kmem:x:3:
  -                =tty:x:4:
  -                =tape:x:5:
  -                =daemon:x:6:
  -                =floppy:x:7:
  -                =disk:x:8:
  -                =lp:x:9:
  -                =dialout:x:10:
  -                =audio:x:11:
  -        </content>
  -</textdump>
  -</programlisting>
  +<userinput><screen><textdump base="/etc">
  +	<file>group</file>
  +
  +	<content>
  +		=root:x:0:
  +		=bin:x:1:
  +		=sys:x:2:
  +		=kmem:x:3:
  +		=tty:x:4:
  +		=tape:x:5:
  +		=daemon:x:6:
  +		=floppy:x:7:
  +		=disk:x:8:
  +		=lp:x:9:
  +		=dialout:x:10:
  +		=audio:x:11:
  +	</content>
  +</textdump></screen></userinput>
   
  -<para>The equivalent bash script is :</para>
  +<para>The equivalent bash script is :</para>
   
  -<programlisting>
  -cd /etc
  +<userinput><screen>cd /etc
   cat > group << 'EOF'
   root:x:0:
   bin:x:1:
  @@ -86,28 +83,23 @@
   lp:x:9:
   dialout:x:10:
   audio:x:11:
  -EOF
  -</programlisting>
  +EOF</screen></userinput>
   
  -<programlisting>
  -<textdump mode="append">
  -        <file>/etc/sysconfig/network</file>
  -        <content>
  +<userinput><screen><textdump mode="append">
  +        <file>/etc/sysconfig/network</file>
  +        <content>
                   =GATEWAY=192.168.123.254
                   =GATEWAY_IF=eth0
  -        </content>
  -</textdump>
  -</programlisting>
  +        </content>
  +</textdump></screen></userinput>
   
  -<para>The equivalent bash script is :</para>
  +<para>The equivalent bash script is :</para>
   
  -<programlisting>
  -echo Generating file /etc/sysconfig/network
  +<userinput><screen>echo Generating file /etc/sysconfig/network
   cat >> /etc/sysconfig/network << 'EOF'
   GATEWAY=192.168.123.254
   GATEWAY_IF=eth0
  -EOF
  -</programlisting>
  +EOF</screen></userinput>
   
   </sect2>
   
  
  
  
  1.6       +21 -21    ALFS/docs/syntax_doc/alfs_dtd/elem_then.xml
  
  Index: elem_then.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_then.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- elem_then.xml	4 Nov 2003 03:07:50 -0000	1.5
  +++ elem_then.xml	23 Feb 2004 03:17:46 -0000	1.6
  @@ -7,34 +7,34 @@
   
   <synopsis>
   <!ELEMENT then        (stageinfo?,(configure|copy|download|execute|
  -                                       if|link|make|mkdir|move|ownership|package|
  +                                       if|xref|make|mkdir|move|ownership|package|
                                          patch|permissions|remove|search_replace|
                                          stage|textdump|unpack)*)>
   </synopsis>
   
   <para>This element occurs in the element
  -<link linkend="elem_if">if</link>.
  +<xref xrefend="elem_if">if</xref>.
   </para>
   
   <para>See also :
  -<link linkend="elem_configure">configure</link>,
  -<link linkend="elem_download">copy</link>,
  -<link linkend="elem_copy">copy</link>,
  -<link linkend="elem_execute">execute</link>,
  -<link linkend="elem_if">if</link>,
  -<link linkend="elem_link">link</link>,
  -<link linkend="elem_make">make</link>,
  -<link linkend="elem_mkdir">mkdir</link>,
  -<link linkend="elem_move">move</link>,
  -<link linkend="elem_ownership">ownership</link>,
  -<link linkend="elem_package">package</link>,
  -<link linkend="elem_patch">patch</link>,
  -<link linkend="elem_permissions">permissions</link>,
  -<link linkend="elem_remove">remove</link>,
  -<link linkend="elem_search_replace">search_replace</link>,
  -<link linkend="elem_stageinfo">stageinfo</link>,
  -<link linkend="elem_textdump">textdump</link>,
  -<link linkend="elem_unpack">unpack</link>.
  +<xref xrefend="elem_configure">configure</xref>,
  +<xref xrefend="elem_download">copy</xref>,
  +<xref xrefend="elem_copy">copy</xref>,
  +<xref xrefend="elem_execute">execute</xref>,
  +<xref xrefend="elem_if">if</xref>,
  +<xref xrefend="elem_xref">xref</xref>,
  +<xref xrefend="elem_make">make</xref>,
  +<xref xrefend="elem_mkdir">mkdir</xref>,
  +<xref xrefend="elem_move">move</xref>,
  +<xref xrefend="elem_ownership">ownership</xref>,
  +<xref xrefend="elem_package">package</xref>,
  +<xref xrefend="elem_patch">patch</xref>,
  +<xref xrefend="elem_permissions">permissions</xref>,
  +<xref xrefend="elem_remove">remove</xref>,
  +<xref xrefend="elem_search_replace">search_replace</xref>,
  +<xref xrefend="elem_stageinfo">stageinfo</xref>,
  +<xref xrefend="elem_textdump">textdump</xref>,
  +<xref xrefend="elem_unpack">unpack</xref>.
   </para>
   
   </sect2>
  @@ -43,7 +43,7 @@
   <title>Description</title>
   
   <para>This element groups the elements that should be executed if
  -the test performed when evaluating an <token>if</token> element is satisfied.
  +the test performed when evaluating an <filename>if</filename> element is satisfied.
   </para>
   
   </sect2>
  
  
  



More information about the alfs-log mailing list