ÿØÿàJFIFÿÛ„ ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /usr/lib/cyrus-imapd/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib/cyrus-imapd/arbitronsort.pl
#!/usr/bin/perl

#
# This script takes the output of arbitron (run without the -o option)
# and prints out first
# a ranking of mailboxes by # of people who selected the mailbox
# and then a ranking of mailbox by # of subscribers.
#

%data = ();
%subs = ();

while(<>) {
    /^(.*) (\d+) (\d+)$/;
    $data{$1} = $2;
    $subs{$1} = $3;
}

$rank = 1;

foreach $key (sort { $data{$b} <=> $data{$a} } (sort keys %data)) {
    print $rank++ . ": $key - $data{$key}\n";
}

print "\n\n";

$rank = 1;

foreach $key (sort { $subs{$b} <=> $subs{$a} } (sort keys %subs)) {
    print $rank++ . ": $key - $subs{$key}\n";
}


ZeroDay Forums Mini