Make winners executable, print path

This commit is contained in:
Neale Pickett 2010-10-26 14:57:17 -06:00
parent 0fbca55a98
commit 89da05fad9
1 changed files with 2 additions and 2 deletions

4
winners.awk Normal file → Executable file
View File

@ -5,7 +5,7 @@ BEGIN {
}
{
tanks[$1] = $1;
tanks[$1] = $2;
if ($4 == "(nil)") {
p = $1;
} else {
@ -20,7 +20,7 @@ BEGIN {
END {
for (id in tanks) {
if (score[id] == topscore) {
print id;
print tanks[id];
}
}
}