NAME
tsvselect —
Select a line from a TSV
file
SYNOPSIS
tsvselect |
tsvfile.tsv [rowno | colno text] |
DESCRIPTION
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.
ID Name Age 1 John 25 2 Peter 33
‘tsvselect students.tsv 3’
will output:
# ID 2 # Name Peter # Age 33
AUTHORS
Strahinya Radich <sr@strahinja.org>, 2023-2026