File: getstats.pl

package info (click to toggle)
mailfilter 0.8.2-4
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,956 kB
  • sloc: cpp: 2,459; ansic: 1,259; sh: 1,134; lex: 566; yacc: 463; makefile: 221; perl: 72
file content (17 lines) | stat: -rw-r--r-- 335 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/perl -w
#####
# (C) Kay Schulz
# Licensed under the same terms as Mailfilter, GPL v2 or later.
# Use at your own risk!
# Searches for the String Applied in the logfiles.
# Needs SHOW_HEADERS set to yes
#####
use strict;
while (<>) 
{
        if (/Applied(.*)$/) 
        {
                print "Applied $1\n";
        }
}