From d094a81d71fe2a165830d5dd17961336af99f713 Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Fri, 28 Apr 2006 14:13:57 +0000 Subject: [PATCH] More warnings about filtering binary files. Bugzilla #39445. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@397909 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/filter.html | 5 +++-- docs/manual/CoreTypes/filterchain.html | 11 ++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/manual/CoreTasks/filter.html b/docs/manual/CoreTasks/filter.html index b1e786695..ae5f5cdf7 100644 --- a/docs/manual/CoreTasks/filter.html +++ b/docs/manual/CoreTasks/filter.html @@ -13,7 +13,8 @@

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.

+through the Project commodity methods. See the warning +here before using.

Note 1: the token string must not contain the separators chars (@).
Note 2: Either token and value attributes must be provided, or only the filtersfile attribute.

@@ -56,7 +57,7 @@ will read all property entries from the deploy_env.properties file and set these as filters.
-

Copyright © 2000-2002,2004-2005 The Apache Software Foundation. All rights +

Copyright © 2000-2002, 2004-2006 The Apache Software Foundation. All rights Reserved.

diff --git a/docs/manual/CoreTypes/filterchain.html b/docs/manual/CoreTypes/filterchain.html index 68bdba059..f2b888d08 100644 --- a/docs/manual/CoreTypes/filterchain.html +++ b/docs/manual/CoreTypes/filterchain.html @@ -9,10 +9,11 @@

FilterChains and FilterReaders

-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

+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' +(you wouldn't want to filter a binary file) +to a file 'bar', you would do something like:

cat foo|head -n10|grep blee > bar

@@ -1402,4 +1403,4 @@ This may be used as follows:


Copyright © 2002-2006 The Apache Software Foundation. All rights -Reserved.

\ No newline at end of file +Reserved.