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

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


jwrober     04/02/22 20:16:42

  Modified:    docs/syntax_doc/alfs_dtd elem_replace.xml
  Log:
  finished first pass across all elements
  
  Revision  Changes    Path
  1.6       +13 -18    ALFS/docs/syntax_doc/alfs_dtd/elem_replace.xml
  
  Index: elem_replace.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_replace.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- elem_replace.xml	4 Nov 2003 03:07:50 -0000	1.5
  +++ elem_replace.xml	23 Feb 2004 03:16:42 -0000	1.6
  @@ -6,11 +6,11 @@
   <title>Syntax</title>
   
   <synopsis>
  -<!ELEMENT replace        (#PCDATA)>
  +<!ELEMENT replace        (#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,31 +18,26 @@
   <sect2>
   <title>Description</title>
   
  -<para>The element <token>replace</token> allows to specify the replacement string
  -in a search and replace operation.</para>
  +<para>The element <filename>replace</filename> allows to specify the
  +replacement string in a search and replace operation.</para>
   
   </sect2>
   
   <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