198c9b8daecc44fbda6a6494c566c723920f030a lrnassar Wed Mar 11 18:25:21 2026 -0700 Fixing a few hundred clear typos with the help of Claude. Some are less important in code comments, but majority of them are in user-facing places. I manually approved 60%+ of the changes and didn't see any that were an incorrect suggestion, at worst it was potentially uncessesary, like a code comment having cant instead of can't. No RM. diff --git src/utils/countChars/countChars.c src/utils/countChars/countChars.c index 7da7beecc36..73ef3badf49 100644 --- src/utils/countChars/countChars.c +++ src/utils/countChars/countChars.c @@ -1,16 +1,16 @@ -/* countChars - Count the number of occurences of a particular char. */ +/* countChars - Count the number of occurrences of a particular char. */ /* Copyright (C) 2011 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" void usage() /* Explain usage and exit. */ { errAbort( "countChars - Count the number of occurrences of a particular char\n" "usage:\n" " countChars char file(s)\n" "Char can either be a two digit hexadecimal value or\n" "a single letter literal character"); @@ -42,31 +42,31 @@ { FILE *f = mustOpen(fileName, "r"); int i; int count = 0; while ((i = fgetc(f)) >= 0) { if (i == c) ++count; } fclose(f); return count; } void doIt(char *ch, int fileCount, char *fileNames[]) -/* doIt - Count the number of occurences of a particular char. */ +/* doIt - Count the number of occurrences of a particular char. */ { char c; int i; char *fileName; if (strlen(ch) > 1) c = unhex(ch); else c = ch[0]; for (i=0; i 0)