Hi Zvi, I was able to do this with echo
.... <echo file="myfile" append="yes"> Some text. </echo> .... It doesn't put in extra characters for me (Solaris 2.7, ant 1.4.1). I assume that the newlines are translated for the OS you are using. PdP Rahamim, Zvi (Zvi) wrote: > Thanks!!! > > Zvi > > > -----Original Message----- > From: Anthony Rodriguez [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 07, 2002 8:33 PM > To: 'Ant Users List' > Subject: RE: Append lines to a file > > > 2 ways to put new lines on a file: > > 1) 
 > 2) > > Hope this helps. > > -Anthony > > > -----Original Message----- > > From: Igor Fedulov [mailto:[EMAIL PROTECTED]] > > Sent: Monday, January 07, 2002 10:37 AM > > To: Ant Users List > > Subject: Re: Append lines to a file > > > > > > > > > I want to append lines to a file. > > > Whan I use echo, it puts in the file a single long line. > > > How can I put a new line in the file? ("\n" doesn't work) > > > Thank you! > > > > Which platform? If you are on windoze maybe you need to put "\r\n"? > > > > Best regards, > > -- > > HTTP is a stateless protocol, and the Internet is a stateless > > development > > environment > > -- > > Igor Fedulov > > E-mail : [EMAIL PROTECTED] > > Work Ph: 773.775.1595 > > Home Ph: 773.281.8938 > > Cell Ph: 773.580.5935 > > > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- ---------------------------------------------------------------------------- |Paul Pantages | Xtera Communications Inc. | | [EMAIL PROTECTED] | 500 W. Bethany | | | Allen, Texas 75013 | | | 972 649 5208 (voice) | | Avenge September 11... | 214 726 5332 (cell) | ---------------------------------------------------------------------------- ***** This email may contain confidential, privileged and protected information from disclosure. Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. ***** -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>