aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests/data/getaddr.pl
diff options
context:
space:
mode:
authornobody <nobody@localhost>2001-10-25 06:17:05 +0800
committernobody <nobody@localhost>2001-10-25 06:17:05 +0800
commitd926a5044cc190b0e6f3b53d7be13096a79990c8 (patch)
tree75a31cb1cb19b4266322f9427b0641c1b53aca24 /camel/tests/data/getaddr.pl
parentdcc99c020b6a58e174091b32585159edfae18dd4 (diff)
downloadgsoc2013-evolution-GNOME_2.tar
gsoc2013-evolution-GNOME_2.tar.gz
gsoc2013-evolution-GNOME_2.tar.bz2
gsoc2013-evolution-GNOME_2.tar.lz
gsoc2013-evolution-GNOME_2.tar.xz
gsoc2013-evolution-GNOME_2.tar.zst
gsoc2013-evolution-GNOME_2.zip
This commit was manufactured by cvs2svn to create tag 'GNOME_2'.GNOME_2
svn path=/tags/GNOME_2/; revision=14021
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";
-}