]> mj.ucw.cz Git - eval.git/commitdiff
mop: mo-score uses at least a single space in every column
authorMartin Mares <mj@ucw.cz>
Sat, 27 Mar 2010 20:16:36 +0000 (21:16 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 27 Mar 2010 20:16:36 +0000 (21:16 +0100)
(otherwise the `column' utility does not count the particular
column)

mop/eval/mo-score.sh

index d651f18b88069d31dd250fe603076832989af801..b893d7623b6128c6ba557d8dbefca0b81b0c6731 100755 (executable)
@@ -187,7 +187,7 @@ while ($i < @table) {
        } else {
                ${table[$j]}[0] = $j+1 . ".-" . $i . ".";
                $j++;
-               while ($j < $i) { ${table[$j++]}[0] = ""; };
+               while ($j < $i) { ${table[$j++]}[0] = " "; };
        }
 }
 print STDERR "OK\n";