TSVSELECT(1) General Commands Manual TSVSELECT(1)

tsvselectSelect a line from a TSV file

tsvselect tsvfile.tsv [rowno | colno text]

Output a line (row) from a TSV file, with each column being output on a separate line, and preceded by a line containing a hashmark ( # ) followed by space and “column title”;

tsvfile.tsv rowno
select the line (row) to be output by its row number (1-based)
tsvfile.tsv colno text
select the line (row) to be output by searching the column with index colno (1-based) for text.
For example, for the TSV file students.tsv:
ID	Name	Age
1	John	25
2	Peter	33

tsvselect students.tsv 3’ will output:

# ID
2
# Name
Peter
# Age
33

Strahinya Radich <sr@strahinja.org>, 2023-2026

OpenBSD 7.8 February 5, 2026 TSVSELECT(1)