Re: [Perl-unix-users] Erroneous EOF?

2002-08-16 Thread jna
I never knew there was a limit to a size a file could be? What exactly is the maxiumum size limit for a file? Thanks, John > How big is the log file? > Have you exceeded the maximum size limit for a file? ___ Perl-Unix-Users mailing list [EMAIL PROT

Re: [Perl-unix-users] Erroneous EOF?

2002-08-16 Thread Martin Moss
I guess you need to create a regular expression which parses out the Erroneous character before you use the file. either use awk or write a perl script to do this in one go. But not sure if this works if the file is being cut short by perl. use $line=~s/$erroneous_char//g; Where $erroneous_char co

RE: [Perl-unix-users] Erroneous EOF?

2002-08-16 Thread Mark Breslauer
The file is 201K in size and 3,260 lines long - the part that confuses Perl is at line 102. -Original Message- From: Martin Moss [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 7:22 AM To: Mark Breslauer; [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: Mark Breslauer Subject: Re: [Perl

Re: [Perl-unix-users] Erroneous EOF?

2002-08-16 Thread Martin Moss
How big is the log file? Have you exceeded the maximum size limit for a file? Marty - Original Message - From: "Mark Breslauer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: "Mark Breslauer" <[EMAIL PROTECTED]> Sent: Friday, August 16, 2002 3:16 PM Subject: [Perl-un

[Perl-unix-users] Erroneous EOF?

2002-08-16 Thread Mark Breslauer
All - I'm writing a script to gather date from a large number of text log files and I've encountered an interesting problem. I've noticed that control characters that appear in some of the log files are being interpreted as indicating EOF - preventing the script from processing the rest of the f