🚻👀 vwc

Like wc, but with a live preview output to stderr if it’s a tty.

cast

It’ll act like your own wc, whether that’s busybox, gnu or bsd.

▶️ installing

$ pipx install vwc    # or uvx
$ echo "hey" | vwc -l
1

For faster counting of large streams, use the optional Numba scanner.

pipx install 'vwc[fast]'

⚖️License

WTFP with one additional clause: