Initial Commit
This commit is contained in:
17
openssl-1.0.2f/crypto/lhash/num.pl
Normal file
17
openssl-1.0.2f/crypto/lhash/num.pl
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/usr/local/bin/perl
|
||||
|
||||
#node 10 -> 4
|
||||
|
||||
while (<>)
|
||||
{
|
||||
next unless /^node/;
|
||||
chop;
|
||||
@a=split;
|
||||
$num{$a[3]}++;
|
||||
}
|
||||
|
||||
@a=sort {$a <=> $b } keys %num;
|
||||
foreach (0 .. $a[$#a])
|
||||
{
|
||||
printf "%4d:%4d\n",$_,$num{$_};
|
||||
}
|
||||
Reference in New Issue
Block a user