Como adicionar o número da linha a um arquivo
nl yourfile.txt > new.txt
Hutch Polecat
nl yourfile.txt > new.txt