cvs commit: ALFS/docs/syntax_doc/alfs_dtd elem_file.xml elem_find.xml

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


jwrober     04/02/22 20:10:10

  Modified:    docs/syntax_doc/alfs_dtd elem_file.xml elem_find.xml
  Log:
  finished first pass across all elements
  
  Revision  Changes    Path
  1.6       +39 -49    ALFS/docs/syntax_doc/alfs_dtd/elem_file.xml
  
  Index: elem_file.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_file.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- elem_file.xml	4 Nov 2003 03:07:50 -0000	1.5
  +++ elem_file.xml	23 Feb 2004 03:10:09 -0000	1.6
  @@ -6,14 +6,13 @@
   <title>Syntax</title>
   
   <synopsis>
  -<!ELEMENT file           (#PCDATA)>
  +<!ELEMENT file           (#PCDATA)>
   </synopsis>
   
  -
  -<para>This element occurs in the elements
  -<link linkend="elem_search_replace">download</link>,
  -<link linkend="elem_search_replace">search_replace</link>
  -and <link linkend="elem_textdump">textdump</link>.
  +<para>This element occurs in the elements ;  
  +<xref linkend="elem_download"/>  |  
  +<xref linkend="elem_search_replace"/>  |  
  +<xref linkend="elem_textdump"/>.
   </para>
   
   </sect2>
  @@ -21,10 +20,9 @@
   <sect2>
   <title>Description</title>
   
  -<para>The element <token>file</token> is used to specify the
  -file in a <token>download</token>, <token>search_replace</token>
  -or <token>textdump</token>
  -element.</para>
  +<para>The element <filename>file</filename> is used to specify the file in
  +a <filename>download</filename>, <filename>search_replace</filename> or
  +<filename>textdump</filename> operation.</para>
   
   </sect2>
   
  @@ -33,54 +31,47 @@
   
   <para>The first example is a search_replace.</para>
   
  -<programlisting>
  -<search_replace
  -    base = "/usr/src/mypackage">
  -    <file>runit.sh</file>
  -    <find>BINDIR</find>
  -    <replace>/bin</replace>
  -</search_replace>
  -</programlisting>
  +<userinput><screen><search_replace
  +	base = "/usr/src/mypackage">
  +	<file>runit.sh</file>
  +	<find>BINDIR</find>
  +	<replace>/bin</replace>
  +</search_replace></screen></userinput>
   
  -<para>The equivalent bash script is :</para>
  +<para>The equivalent bash script is :</para>
   
  -<programlisting>
  -echo Performing substitution in runit.sh
  +<userinput><screen>echo Performing substitution in runit.sh
   cd /usr/src/mypackage
   cp runit.sh /tmp/foo.$$
  -sed -e 's/BINDIR/\/bin/' /tmp/foo.$$ > runit.sh
  -</programlisting>
  +<command>sed -e 's/BINDIR/\/bin/' /tmp/foo.$$ > runit.sh</command></screen></userinput>
   
   <para>The second example is a textdump.</para>
   
  -<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>
  -echo Generating file group
  +<userinput><screen>echo Generating file group
   cd /etc
   
  -cat > group << 'EOF'
  +<command>cat > group << 'EOF'</command>
   root:x:0:
   bin:x:1:
   sys:x:2:
  @@ -93,8 +84,7 @@
   lp:x:9:
   dialout:x:10:
   audio:x:11:
  -EOF
  -</programlisting>
  +<command>EOF</command></screen></userinput>
   
   </sect2>
   
  
  
  
  1.6       +13 -17    ALFS/docs/syntax_doc/alfs_dtd/elem_find.xml
  
  Index: elem_find.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_find.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- elem_find.xml	4 Nov 2003 03:07:50 -0000	1.5
  +++ elem_find.xml	23 Feb 2004 03:10:09 -0000	1.6
  @@ -6,11 +6,11 @@
   <title>Syntax</title>
   
   <synopsis>
  -<!ELEMENT find           (#PCDATA)>
  +<!ELEMENT find           (#PCDATA)>
   </synopsis>
   
  -<para>This element occurs in the element
  -<link linkend="elem_search_replace">search_replace</link>.
  +<para>This element occurs in the element :  
  +<xref linkend="elem_search_replace"/>
   </para>
   
   </sect2>
  @@ -18,7 +18,7 @@
   <sect2>
   <title>Description</title>
   
  -<para>The element <token>find</token> allows to specify the string to be searched
  +<para>The element <filename>find</filename> allows you to specify the string to be searched
   in a search and replace operation.</para>
   
   </sect2>
  @@ -26,23 +26,19 @@
   <sect2>
   <title>Examples</title>
   
  -<programlisting>
  -<search_replace
  -    base = "/usr/src/mypackage">
  -    <file>runit.sh</file>
  -    <find>BINDIR</find>
  -    <replace>/bin</replace>
  -</search_replace>
  -</programlisting>
  +<userinput><screen><search_replace
  +	base = "/usr/src/mypackage">
  +	<file>runit.sh</file>
  +	<find>BINDIR</find>
  +	<replace>/bin</replace>
  +</search_replace></screen></userinput>
   
  -<para>The equivalent bash script is :</para>
  +<para>The equivalent bash script is :</para>
   
  -<programlisting>
  -echo Performing substitution in runit.sh
  +<userinput><screen>echo Performing substitution in runit.sh
   cd /usr/src/mypackage
   cp runit.sh /tmp/foo.$$
  -sed -e 's/BINDIR/\/bin/' /tmp/foo.$$ > runit.sh
  -</programlisting>
  +<command>sed -e 's/BINDIR/\/bin/' /tmp/foo.$$ > runit.sh</command></screen></userinput>
   
   </sect2>
   
  
  
  



More information about the alfs-log mailing list