Add getop(char s[]) and isnumfmt(char s[]).