diff --git a/docs/manual/CoreTasks/concat.html b/docs/manual/CoreTasks/concat.html index fbc284f06..352985e97 100644 --- a/docs/manual/CoreTasks/concat.html +++ b/docs/manual/CoreTasks/concat.html @@ -1,14 +1,13 @@ - - + - Ant User Manual + Concat -

Concat

+

Concat

Description

@@ -41,10 +40,10 @@ destfile The destination file for the concatenated stream. + If not specified the console will be used instead. - No, the console will be used as the destination for the - stream in the absence of this attribute. + No, @@ -61,7 +60,8 @@ encoding Specifies the encoding for the input files. Please see http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html + href="http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html"> + http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html for a list of possible values. Defaults to the platform's default character encoding. @@ -93,35 +93,39 @@

Examples

-

Cat a string to a file:

+

Concatenate a string to a file:

-  <cat tofile="README">Hello, World!</cat>
+  <concat tofile="README">Hello, World!</concat>
       
-

Cat a series of files to the console:

+

Concatenate a series of files to the console:

-  <cat>
+  <concat>
     <fileset dir="messages" includes="*important*" />
-  </cat>
+  </concat>
       
-

Cat a single file, appending if the destination file exists:

+

Concatenate a single file, appending if the destination file exists:

-  <cat tofile="NOTES" append="true">
+  <concat tofile="NOTES" append="true">
     <filelist dir="notes" files="note.txt" />
-  </cat>
+  </concat>
       
-

Cat a series of files, overwriting if the destination file exists:

+

Concatenate a series of files, overwriting if the + destination file exists:

-  <cat tofile="${docbook.dir}/all-sections.xml">
-    <filelist dir="${docbook.dir}/sections" files="introduction.xml,overview.xml" />
-    <fileset dir="${docbook.dir}" includes="sections/*.xml" excludes="introduction.xml,overview.xml" />
-  </cat>
+  <concat tofile="${docbook.dir}/all-sections.xml">
+    <filelist dir="${docbook.dir}/sections" 
+         files="introduction.xml,overview.xml" />
+    <fileset dir="${docbook.dir}" 
+         includes="sections/*.xml" 
+         excludes="introduction.xml,overview.xml" />
+  </concat>