diff options
author | nobody <nobody@localhost> | 2001-02-04 12:10:39 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2001-02-04 12:10:39 +0800 |
commit | 541ed6bf346abe33775bfa8fbe4361d53a02924d (patch) | |
tree | 0a5b66655b7f9f6e527155bcabd2f7470e429a8b /camel/tests/data/getaddr.pl | |
parent | 1b96583c0c6142969e366409bdfd371f078fc683 (diff) | |
download | gsoc2013-evolution-BEFORE_BOBJECT.tar gsoc2013-evolution-BEFORE_BOBJECT.tar.gz gsoc2013-evolution-BEFORE_BOBJECT.tar.bz2 gsoc2013-evolution-BEFORE_BOBJECT.tar.lz gsoc2013-evolution-BEFORE_BOBJECT.tar.xz gsoc2013-evolution-BEFORE_BOBJECT.tar.zst gsoc2013-evolution-BEFORE_BOBJECT.zip |
This commit was manufactured by cvs2svn to create tagBEFORE_BOBJECT
'BEFORE_BOBJECT'.
svn path=/tags/BEFORE_BOBJECT/; revision=7953
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"; -} |