1
0
Fork 0
postfix/auxiliary/collate
Daniel Baumann 75cf244379
Adding upstream version 3.10.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 14:19:32 +02:00
..
collate.pl Adding upstream version 3.10.2. 2025-06-21 14:19:32 +02:00
README Adding upstream version 3.10.2. 2025-06-21 14:19:32 +02:00
README.tlstype Adding upstream version 3.10.2. 2025-06-21 14:19:32 +02:00
tlstype.pl Adding upstream version 3.10.2. 2025-06-21 14:19:32 +02:00

This script, by Viktor Dukhovni, untangles a Postfix logfile and
groups the records one "session" at a time based on queue ID and
process ID information.

Records from different sessions are separated by an empty line.
Such text is easy to process with $/="" in perl, or RS="" in awk.

Usage:
    perl collate.pl file...

It reads standard input when no file is specified.