ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Append lines to a file
Date Tue, 08 Jan 2002 06:59:20 GMT
On Mon, 7 Jan 2002, Anthony Rodriguez <Anthony@WeddingChannel.com>
wrote:

> 2 ways to put new lines on a file:
> 
> 	1) &#x0A;
> 	2) &#13;&#10;

${line.separator} will automatically pick the one appropriate for your
platform (which would be &#0C; on a Mac before Mac OS X).

<echo message="foo${line.separator}" file="bar" />

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message