Re: Update to 0.90, missing CR-LF ...

"Wilson, Brian" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <[email protected]>
You should be able to put \n\r the text to be printed, but I am not 100% sure on this.



Thank you,

Brian Wilson
Programmer Analyst, Associate
Department of Human Resources - Administrative Services
Email: [email protected]


From: Parrish, Ken [mailto:[email protected]]
Sent: Monday, July 12, 2010 10:25 AM
To: [email protected]
Subject: Re: [NAnt-users] Upate to 0.90, missing CR-LF ...

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:[email protected]]
Sent: Monday, July 12, 2010 11:03 AM
To: [email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.