Here is a line numbering program for text files, writted in Python.
Counting text file numbers and create a new one, with the lines numbered at the begining of each line. Also, supports custom delimiter and/or no leading zeros from line number.
It have Command Line Interface, using the GNU style for parameters.
lines.exe [-h] [-v] [-l] [-o OUTPUT_FILE] [-d DELIMETER] INPUT_FILE
||Input file path|
||show help message and exit|
||Don’t add leading zeros|
||Output file path (if not specified, the output filename is as the input, appended ‘-line-numbered the end)|
||Delimeter between line nubers and the begining character of each line (by default, used a space)|
This is free software, distributed under the terms and conditions of the FreeBSD license.