ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <>
Subject Re: Carriage-returns in files ends up as "0D 0D 0A"
Date Sun, 27 Jul 2003 20:49:05 GMT
  Morten Sabroe Mortensen  wrote :
> Subject: Carriage-returns in files ends up as "0D 0D 0A"
>I want to read a multi-line text-file into a property with task "loadfile",
>then replace this set of line into another multi-line-text-file at a
>spot in the file using the task "replace". That is, I want to replace a
>string within one file with the content of another file.

>Within the final file, all carriage-returns between the lines from the
>file ends up as the sequence "0D, 0D, 0A" (have I seen by doing a binary
>dump with a tool). So the problem is with the carriage-returns from the
>read by "loadfile".

Can you reply with a sample build file leading to the wrong behaviour. Also
explain on which platform you are running your build on  (Windows ?). You
can also open a bug report under



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message