RE: [Perl-unix-users] Remove blank lines from a file

2002-08-15 Thread Thomas_M
+A-w+s; ;y;y; ;;print;; > -Original Message- > From: Einecker, Leah [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 15, 2002 11:23 AM > To: 'Craig Sharp'; [EMAIL PROTECTED] > Subject: RE: [Perl-unix-users] Remove blank lines from a file > > > You could use som

RE: [Perl-unix-users] Remove blank lines from a file

2002-08-15 Thread Einecker, Leah
ssage- From: Craig Sharp [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 7:26 AM To: [EMAIL PROTECTED] Subject: [Perl-unix-users] Remove blank lines from a file I have a simple question but I have brain lock. I need to parse a file and remove all blank lines fr

Re: [Perl-unix-users] Remove blank lines from a file

2002-08-15 Thread jimmy
while (<>) { print unless /^$/; } -- James Schappet Schappet.com On Thu, 15 Aug 2002, Craig Sharp wrote: > I have a simple question but I have brain lock. > > I need to parse a file and remove all blank lines from the file. > > Thanks, > > Craig > > __

[Perl-unix-users] Remove blank lines from a file

2002-08-15 Thread Craig Sharp
I have a simple question but I have brain lock. I need to parse a file and remove all blank lines from the file. Thanks, Craig ___ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs