Fix consistency of award titles

This was done quite easily with a bit of thought. I generated a script
that could be modified in vim if necessary (as it turned out to be
though some of it could have been generated too but I did not think of
everything at once and it is a hack).

This is how I generated it:

    echo '#!/bin/bash' > bin/check_awards.sh ; ( while read -r g ; do echo grep "$g"; done < <(sed -e 's,_,/,g' -e 's/"/\\"/g' tmp/year-auth-prize.csv | awk -F, '{print grep "\x22" $2 "\x22" " " $1 "/" "README.md"}' ); ) >> bin/check_awards.sh

Then I I modified the file (again this was a hack to make it easier and
quicker and better for being tired too) in vim to make the grep use -Hc
so I could pipe it to 'grep :0'. This found the files without the right
award. So the final command was:

    sh bin/check_awards.sh |grep :0

though I did have to edit some files several times.

For reference the script has been added to the repo too but with +x
permissions.

This change also required updating the CSV file in tmp/.
This commit is contained in:
Cody Boone Ferguson committed 2023-05-13 07:02:07 -07:00
1 parent cc0f625497
commit d235b565df
27 files changed
+353 -31

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
## Best of show
# Best of show
Jari Arkko, Ora Lassila, Esko Nuutila
Laboratory of Information Processing Science
+1 -1
View File
@@ -1,4 +1,4 @@
## Most humorous output
# Most humorous output
Oskar von der Luehe
Institut fuer Astronomie
+1 -1
View File
@@ -1,4 +1,4 @@
## Most complex algorithm
# Most complex algorithm
Paul E. Black
CIRRUS LOGIC, Inc.
+1 -1
View File
@@ -1,4 +1,4 @@
## Best minimal use of C
# Best minimal use of C
Arch D. Robison
University of Illinois
+1 -1
View File
@@ -1,4 +1,4 @@
## Best layout
# Best layout
Lievaart, Roemer B.
VU-Informatica, Amsterdam
+1 -1
View File
@@ -1,4 +1,4 @@
## Best one liner
# Best one liner
David Van Brackle
Department of Computer Science