Add sequential line numbers to the beginning or end of each line with customizable formatting options including padding, zero-padding, and custom separators.