in reply to Tricky Syslog Parsing
$/ = ""; # Paragraph node. my %seen; open my $fh => "...." or die; while (<$fh>) { next unless /(%FW-\d+-\d+)/; print "$1\n$_" unless $seen {$1} ++; } [download]
This is just a variant on "remove duplicates".
Abigail