diff options
author | nobody <nobody@localhost> | 2003-06-29 00:20:00 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2003-06-29 00:20:00 +0800 |
commit | c5d6cc3f694fcc4d61657823b0bb0ffa12d68338 (patch) | |
tree | e521429188462e4446c632b5bd4b6f333e589995 /camel/tests/data/getaddr.pl | |
parent | 5a8e20476b93515b8e69f7e1c8f659ab3dc55a8f (diff) | |
download | gsoc2013-evolution-GDM2_2_4_4_6.tar.gz gsoc2013-evolution-GDM2_2_4_4_6.tar.zst gsoc2013-evolution-GDM2_2_4_4_6.zip |
This commit was manufactured by cvs2svn to create tag 'GDM2_2_4_4_6'.GDM2_2_4_4_6
svn path=/tags/GDM2_2_4_4_6/; revision=21597
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"; -} |