Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 69453 invoked from network); 26 Jan 2005 16:01:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 26 Jan 2005 16:01:59 -0000 Received: (qmail 56313 invoked by uid 500); 26 Jan 2005 16:01:47 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 56261 invoked by uid 500); 26 Jan 2005 16:01:47 -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 56246 invoked by uid 99); 26 Jan 2005 16:01:47 -0000 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,FORGED_YAHOO_RCVD X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web30909.mail.mud.yahoo.com (HELO web30909.mail.mud.yahoo.com) (68.142.200.162) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 26 Jan 2005 08:01:46 -0800 Received: (qmail 30937 invoked by uid 60001); 26 Jan 2005 16:01:40 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=fSMMkwvDNWlXyXPuKGlKuo0rwu2HxD9ojd9ekYEwZlAD9Qh4LUnxMS289DmgRniPF4VoFJeGvDyg7BtygaqUgIzSuxPS/QlqWCjDv30TvWcEMBMWhn+ppzRTihZeMO3as14dbN1zHxkIiHJKj7SwTOF+ufOs1B/MNCntl8y5nZE= ; Message-ID: <20050126160140.30935.qmail@web30909.mail.mud.yahoo.com> Received: from [65.247.233.159] by web30909.mail.mud.yahoo.com via HTTP; Wed, 26 Jan 2005 08:01:40 PST Date: Wed, 26 Jan 2005 08:01:40 -0800 (PST) From: Matt Benson Subject: Re: putting value in txtfile To: Ant Users List In-Reply-To: <1F2078AA-6FAE-11D9-A4AA-000A95BC61B6@ehatchersolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --- Erik Hatcher wrote: > Um.... nevermind..... I missed the part that there > is "just a blank > line". A custom FilterReader would work - have it > only affect the 4th > line. > > Erik All you have to match is the line break count, so assuming you know what those are (use fixcrlf worst case) tokenfilter + filetokenizer + replaceregex works. My self-contained example (with Jakarta ORO as my regexp engine): 01 bla${br} 02 bla${br} 03 bla${br} 04 ${br} 05 ${br} 06 ${br} 07 bla${br} 08 bla${br} 09 bla${br} -Matt __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org