enumerate: enumerate the lines in a file.

Usage:
cat file | enumerate
enumerate < file