+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
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
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
>
> __
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