@@ -15,6 +15,10 @@ sub hashValueDescendingNum {
while (<HISTORY>) {
my $command = $_;
+ if ($command =~ m/^$/) {
+ next;
+ }
+
my @comm = split(' ', $command);
if ($comm[0] eq "sudo") {