Samuel W. Flint преди 7 години
родител
ревизия
4ebc993812
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      history-stats

+ 4 - 0
history-stats

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