I found documentation indicating that since 0.86, newlines are no longer 
automatically emitted when <echo> is directed to a file.

How do I emit a newline into a file?  This is Windows, so I need a CR/LF 
combination.

Thanks,

Ken Parrish

From: Parrish, Ken [mailto:kparr...@gomez.com]
Sent: Monday, July 12, 2010 11:03 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Upate to 0.90, missing CR-LF ...

I just updated to Nant 0.90.

I have a script with a bunch of <echo> statements that create the text for an 
e-mail.

With the update to 0.90, the <echo> statement do not appear to emit a CR-LF at 
the end of each line.

Any clues?  Explanations for the change in behavior?

            <echo file="messagefile.txt" append="true">| BUILD INFO</echo>

Previous, messsagefile.txt would have a CR-LF at the end of each line.  No 
longer.

Thanks,

Ken Parrish
Gomez, Inc.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to