diff options
author | nobody <nobody@localhost> | 2001-10-03 03:19:44 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2001-10-03 03:19:44 +0800 |
commit | fa6120de34598543969a8fc89a0e3fc587c52e54 (patch) | |
tree | 8f5f9b7cbb8614876e1daeaccef93d7ded95ca3f /camel/tests/data/getaddr.pl | |
parent | 1057efd639f0f3f0cef84fb492ef4b6bc4bd8bce (diff) | |
download | gsoc2013-evolution-0_11.tar gsoc2013-evolution-0_11.tar.gz gsoc2013-evolution-0_11.tar.bz2 gsoc2013-evolution-0_11.tar.lz gsoc2013-evolution-0_11.tar.xz gsoc2013-evolution-0_11.tar.zst gsoc2013-evolution-0_11.zip |
This commit was manufactured by cvs2svn to create tag 'V0_11'.V0_11
svn path=/tags/V0_11/; revision=13336
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"; -} |