Closed edunham closed 10 years ago
Okay, I fixed the script. It's icky, but if you want the script source, it's at https://github.com/edunham/toys/blob/master/trivia_cleanup.py
It found each group of consecutive "duplicates" (lines differing only by capitalization, spacing, and punctuation) and chose the "best" (most capitals and punctuation marks) one to keep.
Also a few no-brainer cleanups in separate commits.
Okay, I fixed the script. It's icky, but if you want the script source, it's at https://github.com/edunham/toys/blob/master/trivia_cleanup.py
It found each group of consecutive "duplicates" (lines differing only by capitalization, spacing, and punctuation) and chose the "best" (most capitals and punctuation marks) one to keep.
Also a few no-brainer cleanups in separate commits.