diff options
author | nobody <nobody@localhost> | 2001-10-05 09:48:39 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2001-10-05 09:48:39 +0800 |
commit | f1c0c4d0b22cfe6ea94d3b004f5784c525183107 (patch) | |
tree | 5bbac4ad4faa2adc856e4ee1cd202d9eaa66fdc9 /camel/tests/data/getaddr.pl | |
parent | bdc4787aef570378e11630f2248123b1c883f524 (diff) | |
download | gsoc2013-evolution-f1c0c4d0b22cfe6ea94d3b004f5784c525183107.tar.gz gsoc2013-evolution-f1c0c4d0b22cfe6ea94d3b004f5784c525183107.tar.zst gsoc2013-evolution-f1c0c4d0b22cfe6ea94d3b004f5784c525183107.zip |
This commit was manufactured by cvs2svn to create tag 'GAL_2_ANCHOR'.GAL_2_ANCHOR
svn path=/tags/GAL_2_ANCHOR/; revision=13432
Diffstat (limited to 'camel/tests/data/getaddr.pl')
-rwxr-xr-x | camel/tests/data/getaddr.pl | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/camel/tests/data/getaddr.pl b/camel/tests/data/getaddr.pl deleted file mode 100755 index 74a8a81f74..0000000000 --- a/camel/tests/data/getaddr.pl +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/perl - -# get addresses out of messages - -if ($#ARGV < 0) { - print "Usage: $0 message(s) mbox(es)\n"; - exit 1; -} - -foreach $name (@ARGV) { - open IN,"<$name"; - while (<IN>) { - if (/^From: (.*)/i - || /^To: (.*)/i - || /^Cc: (.*)/i) { - $base = $1; - while (<IN>) { - if (/^\s+(.*)/) { - $base .= " ".$1; - } else { - last; - } - } - $uniq{$base} = 1; - } - } - close IN; -} - -foreach $key (sort keys %uniq) { - print $key."\n"; -} |