[Logwatch-Devel] postfix sorting

Paweł Gołaszewski blues@ds.pg.gda.pl
Mon, 1 Dec 2003 09:41:33 +0100 (CET)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---1059782324-2034079307-1070268093=:7141
Content-Type: TEXT/PLAIN; charset=ISO-8859-2
Content-Transfer-Encoding: 8BIT


Hello,

Attached patch sorts entries printed in reports. Makes everything more 
readable...

-- 
pozdr.  Paweł Gołaszewski 
---------------------------------
worth to see: http://www.againsttcpa.com/
CPU not found - software emulation...
---1059782324-2034079307-1070268093=:7141
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="logwatch-postfix-sort.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.58L.0312010941330.7141@piorun.ds.pg.gda.pl>
Content-Description: 
Content-Disposition: attachment; filename="logwatch-postfix-sort.patch"

LS0tIC4vc2NyaXB0cy9zZXJ2aWNlcy9wb3N0Zml4Lm9yZwlNb24gRGVjICAx
IDA4OjQ2OjIxIDIwMDMNCisrKyAuL3NjcmlwdHMvc2VydmljZXMvcG9zdGZp
eAlNb24gRGVjICAxIDA4OjQ4OjA1IDIwMDMNCkBAIC0xNjcsNjMgKzE2Nyw2
MyBAQA0KIA0KIAlpZiAoa2V5cyAlU2VudEJ5KSB7DQogCQlwcmludCAiXG5c
bk1lc3NhZ2VzIHNlbnQgYnk6XG4iOw0KLQkJZm9yZWFjaCAkVGhpc09uZSAo
a2V5cyAlU2VudEJ5KSB7DQorCQlmb3JlYWNoICRUaGlzT25lIChzb3J0IHsk
YSBjbXAgJGJ9IGtleXMgJVNlbnRCeSkgew0KIAkJCXByaW50ICIgICAgIiAu
ICRUaGlzT25lIC4gJFNlbnRCeXskVGhpc09uZX0gLiAiIFRpbWVzKHMpXG4i
Ow0KIAkJfQ0KIAl9DQogDQogICAgIGlmIChrZXlzICVVbmtub3duVXNlcnMp
IHsNCiAJCXByaW50ICJcblx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