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

jwrober at jwrober at
Sun Feb 22 19:17:23 PST 2004

jwrober     04/02/22 20:17:23

  Modified:    docs/syntax_doc/alfs_dtd elem_search_replace.xml
  finished first pass across all elements
  Revision  Changes    Path
  1.6       +26 -30    ALFS/docs/syntax_doc/alfs_dtd/elem_search_replace.xml
  Index: elem_search_replace.xml
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_search_replace.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- elem_search_replace.xml	4 Nov 2003 03:07:50 -0000	1.5
  +++ elem_search_replace.xml	23 Feb 2004 03:17:23 -0000	1.6
  @@ -6,23 +6,20 @@
  -<!ELEMENT search_replace (file, find, replace)>
  +<!ELEMENT search_replace (file, find, replace)>
   <!ATTLIST configure
  -          base           CDATA #IMPLIED>
  +             base           CDATA #IMPLIED>
  -<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>See also :
  -<link linkend="elem_file">file</link>,
  -<link linkend="elem_find">find</link>,
  -<link linkend="elem_replace">replace</link>.
  +<para>See also :  
  +<xref linkend="elem_file"/>  |  
  +<xref linkend="elem_find"/>  |  
  +<xref linkend="elem_replace"/>
  @@ -30,37 +27,36 @@
  -<para>The element <token>search_replace</token> is used to perform
  -a search and replace operation of a file.</para>
  +<para>The element <filename>search_replace</filename> is one of the many
  +main operation elements.  It is used to perform a search and replace
  +operation of a file.</para>
  -<para>The sub-element <token>file</token> contains the filename</para>
  +<para>The sub-element <filename>file</filename> contains the
  -<para>The sub-element <token>find</token> contains the string to be searched</para>
  +<para>The sub-element <filename>find</filename> contains the string to be
  -<para>The sub-element <token>replace</token> contains the replacement string.</para>
  +<para>The sub-element <filename>replace</filename> contains the replacement
  -    base = "/usr/src/mypackage">
  -    <file></file>
  -    <find>BINDIR</find>
  -    <replace>/bin</replace>
  +<userinput><screen><search_replace base="/usr/src/mypackage">
  +	<file></file>
  +	<find>BINDIR</find>
  +	<replace>/bin</replace>
  -<para>The equivalent bash script is :</para>
  +<para>The equivalent bash script is :</para>
  -echo Performing substitution in
  +<userinput><screen>echo Performing substitution in
   cd /usr/src/mypackage
   cp /tmp/foo.$$
  -sed -e 's/BINDIR/\/bin/' /tmp/foo.$$ >
  +<command>sed -e 's/BINDIR/\/bin/' /tmp/foo.$$ ></command></screen></userinput>

More information about the alfs-log mailing list