Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 38993 invoked from network); 26 Jan 2005 13:54:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 26 Jan 2005 13:54:05 -0000 Received: (qmail 97687 invoked by uid 500); 26 Jan 2005 13:53:58 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 97638 invoked by uid 500); 26 Jan 2005 13:53:58 -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 97602 invoked by uid 99); 26 Jan 2005 13:53:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from fork9.mail.Virginia.EDU (HELO fork9.mail.virginia.edu) (128.143.2.179) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 26 Jan 2005 05:53:56 -0800 Received: from localhost (localhost [127.0.0.1]) by fork9.mail.virginia.edu (Postfix) with ESMTP id ECD0B1F5232 for ; Wed, 26 Jan 2005 08:53:53 -0500 (EST) Received: from fork9.mail.virginia.edu ([127.0.0.1]) by localhost (fork9.mail.virginia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13816-04 for ; Wed, 26 Jan 2005 08:53:53 -0500 (EST) Received: from [128.143.167.108] (d-128-167-108.bootp.Virginia.EDU [128.143.167.108]) by fork9.mail.virginia.edu (Postfix) with ESMTP id A1AB71F5215 for ; Wed, 26 Jan 2005 08:53:53 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <5D95F7CCFF39EB459CB8624EE4F9954203B5F3@VEX00003.lan.huk-coburg.de> References: <5D95F7CCFF39EB459CB8624EE4F9954203B5F3@VEX00003.lan.huk-coburg.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Erik Hatcher Subject: Re: putting value in txtfile Date: Wed, 26 Jan 2005 08:55:00 -0500 To: "Ant Users List" X-Mailer: Apple Mail (2.619) X-UVA-Virus-Scanned: by amavisd-new at fork9.mail.virginia.edu X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N task or the replaceregex filter reader on a would do the trick, I think. Erik On Jan 26, 2005, at 8:31 AM, Rebhan, Gilbert wrote: > > Hi, > > yet another txtfileprocessing question. > > File looks like that : > > 01 bla > 02 bla > 03 bla > 04 > 05 > 06 > 07 bla > 08 bla > 09 bla > > How to put the value of a property on line 4 ? > > The rest of the file should remain as it is. > > Problem : no tokens like @...@ there, just a blank line > The linenumber, where the value should be put in is always > line number 04. > > Any hints ? > > Gilbert > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org