Quote:
Originally posted by acid_kewpie
erm.. ok you wanted a field seperator... i give up, what's the difference??
|
I want to write a little script to do analysis on
the current mail-queue and take action on it
if necessary ... every once in a while we get
hit by mails that pass spam-assassins filters
(very conservative settings) and bring postfix
to a crawl ...
The mailq output is a set of multi-line records,
I need to treat 1 or more blank lines as a record
separator, and a simple newline as a field.
The default behaviour of awk and perl would be
to have a line as a record, and whitespace delimited
"words" as fields.
Quote:
and you know i've still
never got round to
understanding quite
why you always seem
to write your posts
just like this.
|
I do it slightly wider (approximately 60 chars, I found)
and I do it because I find it easier to read and more
pleasant to the eye :)
Cheers,
Tink