stevel 02/04/11 20:22:28
Modified: docs/manual/CoreTasks concat.html
Log:
using concat everywhere
Revision Changes Path
1.3 +24 -20 jakarta-ant/docs/manual/CoreTasks/concat.html
Index: concat.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/concat.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- concat.html 10 Apr 2002 15:33:09 -0000 1.2
+++ concat.html 12 Apr 2002 03:22:28 -0000 1.3
@@ -1,14 +1,13 @@
-
- <html>
+<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
- <title>Ant User Manual</title>
+ <title>Concat</title>
</head>
<body>
- <h2><a name="copy">Concat</a></h2>
+ <h2><a name="Concat">Concat</a></h2>
<h3>Description</h3>
@@ -41,10 +40,10 @@
<td valign="top">destfile</td>
<td valign="top">
The destination file for the concatenated stream.
+ If not specified the console will be used instead.
</td>
<td valign="top" align="center">
- No, the console will be used as the destination for the
- stream in the absence of this attribute.
+ No,
</td>
</tr>
@@ -61,7 +60,8 @@
<td valign="top">encoding</td>
<td valign="top">
Specifies the encoding for the input files. Please see <a
-
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</a>
+
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</a>
for a list of possible values. Defaults to the platform's
default character encoding.
</td>
@@ -93,35 +93,39 @@
<h3>Examples</h3>
- <p><b>Cat a string to a file:</b></p>
+ <p><b>Concatenate a string to a file:</b></p>
<pre>
- <cat tofile="README">Hello, World!</cat>
+ <concat tofile="README">Hello, World!</concat>
</pre>
- <p><b>Cat a series of files to the console:</b></p>
+ <p><b>Concatenate a series of files to the console:</b></p>
<pre>
- <cat>
+ <concat>
<fileset dir="messages" includes="*important*"
/>
- </cat>
+ </concat>
</pre>
- <p><b>Cat a single file, appending if the destination file
exists:</b></p>
+ <p><b>Concatenate a single file, appending if the destination file
exists:</b></p>
<pre>
- <cat tofile="NOTES" append="true">
+ <concat tofile="NOTES" append="true">
<filelist dir="notes" files="note.txt" />
- </cat>
+ </concat>
</pre>
- <p><b>Cat a series of files, overwriting if the destination file
exists:</b></p>
+ <p><b>Concatenate a series of files, overwriting if the
+ destination file exists:</b></p>
<pre>
- <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>
</pre>
<hr>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>