ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: <echo> and newline
Date Tue, 26 Jun 2001 03:38:32 GMT
--- Chris Wall <chris.wall@bea.com> wrote:
> I would like to append an echo message to an existing file, but first
> would like to add a newline.

Try:

    <echo file="foo.txt" append="true">
Some new foo text.
</echo>

(I think Conor suggested it might not give the right line-endings, but I
haven't seen a problem with it.)

Diane 

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Mime
View raw message