A clone of the wc
utility written in zig. That's it. Just a
line/word/character counter written in zig for learning purposes.
Should work as a drop-in replacement, but I haven't tested it extensively yet.
Assuming you have zig installed and that ~/.local/bin
is in your path:
$ zig build -Drelease-fast -p ~/.local/bin
$ echo "hello" | zwc
1 1 6