Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 73570 invoked from network); 9 Oct 2003 21:09:06 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Oct 2003 21:09:06 -0000 Received: (qmail 65993 invoked by uid 500); 9 Oct 2003 21:08:39 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 65797 invoked by uid 500); 9 Oct 2003 21:08:38 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 65783 invoked from network); 9 Oct 2003 21:08:37 -0000 Received: from unknown (HELO mx2.compuware.com) (63.115.132.21) by daedalus.apache.org with SMTP; 9 Oct 2003 21:08:37 -0000 Received: from bh1.compuware.com (unknown [10.10.1.31]) by mx2.compuware.com (Postfix) with ESMTP id 2698C41F35 for ; Thu, 9 Oct 2003 17:08:44 -0400 (EDT) Received: by compuware.com with Internet Mail Service (5.5.2653.19) id ; Thu, 9 Oct 2003 17:08:43 -0400 Message-ID: <8D81DA9D264CD311A60C0008C75D553B0EEEDD29@cwus-dtw-pri02.compuware.com> From: "Yu, John" To: "'user@ant.apache.org'" Subject: Use Replace task for multiple line not working Date: Thu, 9 Oct 2003 17:08:43 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I'm trying to do the following, however rather unsuccessful using Ant 1.5.1 on Windows 2000: Lines are not removed. I took a Hex look at the source file, and see it use "0a" as end of line. So I tried "#xA", "0x0a", "0a", nothing works. The online Ant documentation showed similar example as my code. What did I do wrong here? Thanks a lot, John The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org