tsv_utils.csv2tsv

Convert CSV formatted data to TSV format.

This program converts comma-separated value data to tab-separated format.

Copyright (c) 2016-2019, eBay Software Foundation Initially written by Jon Degenhardt

Members

Functions

csv2tsv
void csv2tsv(auto ref InputRange inputStream, auto ref OutputRange outputStream, string filename = "(none)", size_t currFileLineNumber = 0, const char csvQuote = '"', const char csvDelim = ',', const char tsvDelim = '\t', string tsvDelimReplacement = " ", NullableSizeT maxRecords = NullableSizeT.init)

Read CSV from an input source, covert to TSV and write to an output source.

csv2tsvFiles
void csv2tsvFiles(in Csv2tsvOptions cmdopt, in string[] inputFiles)

csv2tsvFiles reads multiple files and standard input and writes the results to standard output.

Structs

Csv2tsvOptions
struct Csv2tsvOptions

Container for command line options.

Meta