View on GitHub

eBay's TSV Utilities

Command line tools for tabular data files written in the D programming language.

Visit the main page

Other open-source tools

There are a number of open-source toolkits with functionality similar to the TSV Utilities. Several are listed below. Those handling CSV files handle TSV files as well:

A broader list of tools can be found here: Structured text tools.

The different toolkits are certainly worth investigating if you work with tabular data files. Several have quite extensive feature sets. Each toolkit has its own strengths, your workflow and preferences are likely to fit some toolkits better than others.

File format is perhaps the most important dimension. CSV files cannot be processed reliably by traditional unix tools, so CSV toolkits naturally extend further into this space. For example, many CSV toolkits have their own "sort" functionality, as the Unix sort function cannot reliably operate on CSV files. However, this tends to increase the complexity of working with these tools when using TSV files, especially if the TSV data includes comma and quote characters that would be escaped in CSV format.

Tradeoffs between file formats is its own topic. See Comparing TSV and CSV formats for a discussion of TSV and CSV formats. The brendano/tsvutils README (Brendan O'Conner) has a nice discussion of the rationale for using TSV files. Note that many numeric CSV data sets use comma as a separator, but don't use CSV escapes. Such data sets can be processed reliabily by Unix tools and this toolset by setting the delimiter character.