Re: Help with line length in script

2006-06-08 Thread Chris
On Thursday 08 June 2006 8:11 pm, Timothy Johnson wrote: > Here's the offending line: > > ### > $TXT .= swrite("@ @> @>",$rec, > $stats{virus}->{$rec}, $percent)."%\n" if $text; ### > > The @ part is telling format to print up to 21 > cha

RE: Help with line length in script

2006-06-08 Thread Timothy Johnson
t;<<<<<<<<<<<<<<<<<<< part is telling format to print up to 21 characters of $rec and truncate the rest, left justifying it. If you want to make the printout of $rec longer, add more of these: '<' to that field. -Origina

Help with line length in script

2006-06-08 Thread Chris
I use a script that generates stats for clamav. It generates both txt and html output. The problem is that the line length in the txt and html output differ. For instance in the txt output it shows this: (the numbers differ because the files were generated at different times) Email.ScamS.Gen00