"Charles K. Clarkson" <[EMAIL PROTECTED]> writes:
> : ---> @chunk = '';
>
> Should be:
>
> @chunk = ();
Ahh ...yes. Thanks for the thorough explanation.
[...]
> Since you're adding all those newlines
> back in, why take them out in the first
> place?
Nice code. Thanks. Abou
Harry Putnam <[EMAIL PROTECTED]> wrote:
:
: Where is this pesky newline coming from?
:
:if($collect_lines
: && /^( +Folder:| Subject: |From |Message-[Ii][Dd])/){
: push @chunk,$_;
:}
:if(/^START/){
: $cnthits++;
: $collect_lines = '';
: @rev_chunk =
Where is this pesky newline coming from?
This script processes a custom procmail.log and prints a summary of
activity of a stipulated number of processed messages.
Working from the end of file toward the beginning by using `tac'
I wanted a `--\n' delimiter between sections. As you see below
this