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-2021, eBay Inc. Initially written by Jon Degenhardt

Members

Functions

main
int main(string[] cmdArgs)

Main program.

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

Implements the primary logic behind number lines.

Structs

NumberLinesOptions
struct NumberLinesOptions

Container for command line options.

Variables

helpText
auto helpText;

Undocumented in source.

rt_options
string[] rt_options;

Undocumented in source.

Meta