ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Moebius <stmoeb...@yahoo.com>
Subject Re: [PATCH] ReplaceRegExp should not append additional newline
Date Thu, 19 Sep 2002 08:59:22 GMT
Ok, I read some documentation on sed and perl. Pretty confusing and
somewhat platform dependent. Thinking about it turned up the following.
Let me know if you agree:

1. We never want to inadvertently change existing linebreaks.
2. In line-mode it is impossible to change linbreaks. 
  Consequences:
  2.1 In line-mode one cannot change the number of lines in a file.
  2.2 If the user wants to change linebreaks, she has to use
byline="false".
3. A line is always finally terminated by '\n', i.e. "\r\n\n" are two
lines.

Stefan


=====
Stefan Moebius       <stmoebius@yahoo.com> 
  Wurzener Str. 43        +49 351 8475827
  01127 Dresden           +49 172 8739617

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

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


Mime
View raw message