Author: mbenson
Date: Fri Apr 28 07:13:57 2006
New Revision: 397909
URL: http://svn.apache.org/viewcvs?rev=397909&view=rev
Log:
More warnings about filtering binary files. Bugzilla
#39445.
Modified:
ant/core/trunk/docs/manual/CoreTasks/filter.html
ant/core/trunk/docs/manual/CoreTypes/filterchain.html
Modified: ant/core/trunk/docs/manual/CoreTasks/filter.html
URL: http://svn.apache.org/viewcvs/ant/core/tr
unk/docs/manual/CoreTasks/filter.html?rev=397909&r1=3979
08&r2=397909&view=diff
============================================================
==================
--- ant/core/trunk/docs/manual/CoreTasks/filter.html
(original)
+++ ant/core/trunk/docs/manual/CoreTasks/filter.html Fri Apr
28 07:13:57 2006
 -13,7
+13,8 
<p>Sets a token filter for this project or read
multiple token filter from
an input file and sets these as filters.
Token filters are used by all tasks that perform file
copying operations
-through the Project commodity methods.</p>
+through the Project commodity methods. See the warning
+<a
href="../using.html#filters"><em>here&l
t;/em></a> before using.</p>
<p>Note 1: the token string must not contain the
separators chars ( ).<br>
Note 2: Either token and value attributes must be provided,
or only the
filtersfile attribute.</p>
 -56,7
+57,7 
and set these as filters.
<hr>
-<p align="center">Copyright ©
2000-2002,2004-2005 The Apache Software Foundation. All
rights
+<p align="center">Copyright ©
2000-2002, 2004-2006 The Apache Software Foundation. All
rights
Reserved.</p>
</body>
Modified:
ant/core/trunk/docs/manual/CoreTypes/filterchain.html
URL: http://svn.apache.org/viewcvs/ant/co
re/trunk/docs/manual/CoreTypes/filterchain.html?rev=397909&a
mp;r1=397908&r2=397909&view=diff
============================================================
==================
--- ant/core/trunk/docs/manual/CoreTypes/filterchain.html
(original)
+++ ant/core/trunk/docs/manual/CoreTypes/filterchain.html
Fri Apr 28 07:13:57 2006
 -9,10
+9,11 
<body>
<h2>FilterChains and FilterReaders</h2>
-Look at Unix pipes - they offer you so much flexibility -
-say you wanted to copy just those lines that contained the
-string blee from the first 10 lines of a file 'foo'
-to a file 'bar' - you would do something like<p>
+Consider the flexibility of Unix pipes. If you wanted,
+for example, to copy just those lines that contained the
+string blee from the first 10 lines of a text file 'foo'
+(<em>you wouldn't want to filter a binary
file</em>)
+to a file 'bar', you would do something like:<p>
<code>
cat foo|head -n10|grep blee > bar
</code><p>
 -1402,4
+1403,4 
<hr>
<p align=center>Copyright © 2002-2006 The
Apache Software Foundation. All rights
-Reserved.</p></body></html>
\ No newline at end of file
+Reserved.</p></body></html>
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe ant.apache.org
For additional commands, e-mail: dev-help ant.apache.org
|