Hacker News new | ask | show | jobs
by matheusmoreira 2332 days ago
The source code of GNU wc:

https://github.com/coreutils/coreutils/blob/master/src/wc.c

The word counting algorithm does seem to be much more complex.