« Return to Thread: Trim leading spaces line by line

RE: Trim leading spaces line by line

by Felix Dorner-2 :: Rate this Message:

Reply to Author | View in Thread

I found the solution my self in the ant manual:

<move file="${source}" tofile="${dest}">
        <filterchain>
            <tokenfilter>
                 <deletecharacters chars="\t"/>
                   <trim/>
                   <ignoreblank/>
            </tokenfilter>
        </filterchain>
</move>

It would be nice to do this on-the-fly, so that source and dest are the same. Is this possible somehow?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

 « Return to Thread: Trim leading spaces line by line