diff --git a/docs/manual/CoreTypes/resources.html b/docs/manual/CoreTypes/resources.html index f15bc2f90..0615d0b1c 100644 --- a/docs/manual/CoreTypes/resources.html +++ b/docs/manual/CoreTypes/resources.html @@ -887,7 +887,7 @@ larger collection. Since Ant 1.7.1.

tokens

Includes the string tokens gathered from a nested resource collection. Uses the same tokenizers supported by the -TokenFilter. Hint: imaginative +TokenFilter. Imaginative use of this resource collection can implement equivalents for such Unix functions as sort, grep -c, wc and wc -l.

@@ -917,6 +917,19 @@ larger collection. Since Ant 1.7.1.

LineTokenizer will be used. +

Examples

+
<concat>
+  <union>
+    <sort>
+      <tokens>
+        <resources refid="input" />
+        <linetokenizer includedelims="true" />
+      </tokens>
+    </sort>
+  </union>
+</concat>
+  
+

Implements Unix sort -u against resource collection input.

Set operations