Why does cat need the ability to add line numbers anyway? It seems outside the scope of it's purpose. Next it'll need ability to translate Russian to English.
If I ever needed line numbering, I would output into a file and open it in a far more capable text editor/viewer that was designed for doing that well.