nl is a Unix utility for numbering lines, either from a file or from standard input, reproducing output on standard output.
History
nl is part of the X/Open Portability Guide since issue 2 of 1987. It was inherited into the first version of POSIX.1 and the Single Unix Specification.[1] It first appeared in System V release 2.[2]
The version of nl bundled in GNUcoreutils was written by Scott Bartram and David MacKenzie.[3]