macOS / binaries /

nl

/usr/bin/nl
Line numbering filter

The nl utility reads lines from the named file, applies a configurable line numbering filter operation, and writes the result to the standard output.

source: man