computer nonsense, regexes, arcane computer magic
Also, disclaimers: this is for a very limited-scope one-off bash kludge, I do not care how robust it is, and also please never do this in any context where someone else might have to read your code. I guarantee there's a built-in or readily-available library method in practically every language to do this. Heck, there might be a standard bash util I'm not aware of!
computer nonsense, regexes, arcane computer magic
@cincodenada now I'm thinking of how I'd do this for readability! split, cap, join I guess?