>Yet there's still one small simplification that can be made: the condition in the inner loop doesn't need "!= '\0'".
I believe this would cause the newline not to be printed in the unknown command error, so it is necessary.
I believe this would cause the newline not to be printed in the unknown command error, so it is necessary.
This is true in C++ but not in C.