Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 25596 invoked from network); 19 Sep 2002 08:59:39 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Sep 2002 08:59:39 -0000 Received: (qmail 26729 invoked by uid 97); 19 Sep 2002 09:00:07 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 26690 invoked by uid 97); 19 Sep 2002 09:00:05 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 26651 invoked by uid 98); 19 Sep 2002 09:00:05 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <20020919085922.26947.qmail@web10004.mail.yahoo.com> Date: Thu, 19 Sep 2002 01:59:22 -0700 (PDT) From: Stefan Moebius Subject: Re: [PATCH] ReplaceRegExp should not append additional newline To: Ant Developers List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 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: For additional commands, e-mail: