aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests/data/getaddr.pl
diff options
context:
space:
mode:
authornobody <nobody@localhost>2001-08-05 03:29:35 +0800
committernobody <nobody@localhost>2001-08-05 03:29:35 +0800
commit53e99d5995b551818c943754a243b955dfc2ca4e (patch)
tree0f0f7d161df8ec2e9a2e06dc0f87a8c17389d1e1 /camel/tests/data/getaddr.pl
parent950e90cd92e950cb17645b5c3d6fc6eae2f07c5e (diff)
downloadgsoc2013-evolution-0_3_2.tar
gsoc2013-evolution-0_3_2.tar.gz
gsoc2013-evolution-0_3_2.tar.bz2
gsoc2013-evolution-0_3_2.tar.lz
gsoc2013-evolution-0_3_2.tar.xz
gsoc2013-evolution-0_3_2.tar.zst
gsoc2013-evolution-0_3_2.zip
This commit was manufactured by cvs2svn to create tag 'V0_3_2'.V0_3_2
svn path=/tags/V0_3_2/; revision=11678
Diffstat (limited to 'camel/tests/data/getaddr.pl')
-rwxr-xr-xcamel/tests/data/getaddr.pl32
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";
-}