The Posix wc command formatting is not fully correct. For instance, a simple:
So the output formatting is not correct (result is displayed twice) and wc can't be easily used in scripting.
To be compliant with standard Posix wc command, the output should be:
I'm adding tests and fixes.