Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 80281 invoked from network); 17 Jun 2004 22:21:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Jun 2004 22:21:58 -0000 Received: (qmail 16756 invoked by uid 500); 17 Jun 2004 22:22:08 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 16716 invoked by uid 500); 17 Jun 2004 22:22:07 -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 16703 invoked by uid 99); 17 Jun 2004 22:22:07 -0000 Received: from [148.87.2.204] (HELO inet-mail4.oracle.com) (148.87.2.204) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 17 Jun 2004 15:22:07 -0700 Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.191.10]) by inet-mail4.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i5HMICHk005883 for ; Thu, 17 Jun 2004 15:18:15 -0700 (PDT) Received: from rgmgw1.us.oracle.com (localhost [127.0.0.1]) by rgmgw1.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i5HMLWC7030845 for ; Thu, 17 Jun 2004 16:21:32 -0600 Received: from oracle.com (dhcp-1op5-1op6-west-144-25-142-166.us.oracle.com [144.25.142.166]) by rgmgw1.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i5HMLWbl030839 for ; Thu, 17 Jun 2004 16:21:32 -0600 Message-ID: <40D2196B.ED367EAE@oracle.com> Date: Thu, 17 Jun 2004 15:21:31 -0700 From: Guru Balse X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Ant Users List Subject: Re: to wipe out everything in a file References: <20040617165209.93911.qmail@web41213.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Just use :-) Woodchuck wrote: > > perfect!! my files are 0 bytes in size now!! > thanks!! > > > > > .. > > > --- "Anderson, Kajsa (TLR Corp)" > wrote: > > Have you tried the singleline flag? > > > > From the manual: > > The flags to use when matching the regular > > expression. For more information, consult the Perl5 > > syntax > > s : Singleline. Treat the string as a single line of > > input, using "." to match any character, including a > > newline, which normally, it would not match. > > > > -----Original Message----- > > From: Woodchuck [mailto:woodchuck_5@yahoo.com] > > Sent: Thursday, June 17, 2004 10:41 AM > > To: user@ant.apache.org > > Subject: to wipe out everything in a > > file > > > > > > is there a way to wipe out an entire file? > > i just want everything to be blank. > > > > i used the following: > > > > > > > > > > > > now i have a blank empty file, but there are still > > many lines (carriage returns) in that file. > > > > i want to eliminate *everything* so that the only > > thing in the file is EOF character, no line returns, > > no nothing at all. > > > > does anyone know how to do this? > > > > i tried setting byline=false but it didn't work > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - You care about security. So do we. > > http://promotions.yahoo.com/new_mail > > > > > --------------------------------------------------------------------- > > 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 > > > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org -- Guru Balse Oracle - Server Technologies - iAS Integration QA Work: 650.506.1611 (1op668 - HQ) --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org