tsv_utils.number_lines

A simple version of the unix 'nl' program.

This program is a simpler version of the unix 'nl' (number lines) program. It reads text from files or standard input and adds a line number to each line.

Copyright (c) 2015-2018, eBay Software Foundation Initially written by Jon Degenhardt

Members

Functions

main
int main(string[] cmdArgs)

Main program.

numberLines
void numberLines(in NumberLinesOptions cmdopt, in string[] inputFiles)

Implements the primary logic behind number lines.

Structs

NumberLinesOptions
struct NumberLinesOptions

Container for command line options.

Meta