Re: whitespace beginning and end

2006-02-22 Thread John W. Krahn
[EMAIL PROTECTED] wrote: > Perlers Hello, > I need to remove any line that begins with \d+ yet end with \s* EVERY line ends with \s* so you want to remove every line? John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

RE: whitespace beginning and end

2006-02-22 Thread DBSMITH
Do you mean like unless($_ =~ /^\s*\d+\s*$/){ print $_; } ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 2:36 PM To: beginners@perl.org Subject: whitespace beginning and end Perl

RE: whitespace beginning and end

2006-02-22 Thread Wagner, David --- Senior Programmer Analyst --- WGO
[EMAIL PROTECTED] wrote: > Perlers > > I need to remove any line that begins with \d+ yet end with \s* > Here is the data > > _BEGIN_DATA_ > >0 2005/09/23 17:25 221 100% -il-o-b---U- sf F02043 > 72 2005/10/07 17:12 524 100% -il-o-b---U- sf H02053 > 73 2005/10/10 13:23

RE: whitespace beginning and end

2006-02-22 Thread Timothy Johnson
Do you mean like unless($_ =~ /^\s*\d+\s*$/){ print $_; } ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 2:36 PM To: beginners@perl.org Subject: whitespace beginning and end Perlers I need