1This script, by Viktor Dukhovni, untangles a Postfix logfile and 2groups the records one "session" at a time based on queue ID and 3process ID information. 4 5Records from different sessions are separated by an empty line. 6Such text is easy to process with $/="" in perl, or RS="" in awk. 7 8Usage: 9 perl collate.pl file... 10 11It reads standard input when no file is specified. 12