wc-tool

A command-line word count tool for counting lines, words, bytes, and characters from files or standard input.

PythonPythonCLICLIUXUnixTXTText ProcessingTTesting

What I Built

  • Built a lightweight CLI utility inspired by Unix wc for counting lines, words, bytes, and characters.
  • Added support for both file input and standard input to match common shell usage patterns.
  • Structured the command behavior for straightforward terminal usage and installable execution.
  • Implemented test coverage to validate counting logic and input handling across expected workflows.

Outcome

This project became a practical utility for day-to-day text counting tasks in command-line workflows. It demonstrates CLI design fundamentals, reliable file and stdin handling, and a test-first mindset for small developer tools.