I wrote a version of nl for Serenity with a lot but not all of the options in POSIX nl. It includes line count type (-b), increment (-i), delimiter (-s), start number (-v), and width (-w).