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.

Static variables

rt_options
string[] rt_options;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

NumberLinesOptions
struct NumberLinesOptions

Container for command line options.

Variables

helpText
auto helpText;
Undocumented in source.

Meta

License

Boost Licence 1.0 (http://boost.org/LICENSE_1_0.txt)