Isn't `strcasecmp` available everywhere?

There should be spaces in the `for` statement, and the 8 can be found with `sizeof` like `for (i = 0; i < sizeof(mods) / sizeof(struct mod_lookup); i++)` in case other mods are added (aren't there hyper and super modifiers?)