len

Command that reads stdin and prints its length in bytes, with human-friendly formatting if the output is a terminal.

Usage

```sh $ cat /usr/share/dict/words | len

2.4 MiB ```