We already have HeadFilter and TailFilter,
also we have PrefixLines.

I would vote for SuffixLines as it sounds best matching to the already existing 
PrefixLines filter (to me).

For me the terms (h)eader/(f)ooter/(p)rolog/(e)pilog/suffix(sx)/prefix(px) have 
a kind of "directional meaning":
* header and prolog is a paragraph before the current position - it is up to 
the current position
* prefix is left of the current position
* suffix is right of the current position
* footer and epilog are paragraphs after the current position - buttom to the 
current position

+-------------------+
|        h,p        |
+----+---------+----+
| px | current | sx |
+----+---------+----+
|        f,e        |
+-------------------+


Jan
 

>-----Ursprüngliche Nachricht-----
>Von: Dominique Devienne [mailto:ddevie...@gmail.com] 
>Gesendet: Donnerstag, 7. Januar 2010 20:58
>An: Ant Developers List
>Betreff: Re: svn commit: r894462 - in /ant/core/trunk: 
>WHATSNEW docs/manual/CoreTypes/filterchain.html 
>src/main/org/apache/tools/ant/filters/AppendToLines.java 
>src/main/org/apache/tools/ant/types/FilterChain.java 
>src/tests/antunit/filters/append-test.xml
>
>On Thu, Jan 7, 2010 at 1:57 PM, Dominique Devienne 
><ddevie...@gmail.com> wrote:
>> On Thu, Jan 7, 2010 at 1:35 PM, Bruce Atherton 
><br...@callenish.com> wrote:
>>> While you are undeniably technically right that suffixlines 
>is a better
>>> match with prefixlines, which of the three sounds better 
>and is going to be
>>> clearer to users: appendtolines, suffixlines, or postfix lines.
>>
>> header/footer lines?
>> prolog/epilog lines?
>
>head/tail lines?
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
>For additional commands, e-mail: dev-h...@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to