aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests/data/getaddr.pl
diff options
context:
space:
mode:
authornobody <nobody@localhost>2001-01-24 20:16:19 +0800
committernobody <nobody@localhost>2001-01-24 20:16:19 +0800
commitc7c47a4395581e5c9d1e6822bc88ebe320d72c3d (patch)
treed14a15d47e7d448085f459ad6645a440bc61e8e9 /camel/tests/data/getaddr.pl
parent50686ba8d9071b6c76df52c0d126e6d74163471e (diff)
downloadgsoc2013-evolution-c7c47a4395581e5c9d1e6822bc88ebe320d72c3d.tar
gsoc2013-evolution-c7c47a4395581e5c9d1e6822bc88ebe320d72c3d.tar.gz
gsoc2013-evolution-c7c47a4395581e5c9d1e6822bc88ebe320d72c3d.tar.bz2
gsoc2013-evolution-c7c47a4395581e5c9d1e6822bc88ebe320d72c3d.tar.lz
gsoc2013-evolution-c7c47a4395581e5c9d1e6822bc88ebe320d72c3d.tar.xz
gsoc2013-evolution-c7c47a4395581e5c9d1e6822bc88ebe320d72c3d.tar.zst
gsoc2013-evolution-c7c47a4395581e5c9d1e6822bc88ebe320d72c3d.zip
This commit was manufactured by cvs2svn to create tagRelease09pre3
'Release09pre3'. svn path=/tags/Release09pre3/; revision=7779
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";
-}