helpText
auto helpText =
q"EOS
Synopsis: tsv-select -f n[,n...] [options] [file...]
tsv-select reads files or standard input and writes specified fields to
standard output in the order listed. Similar to 'cut' with the ability to
reorder fields. Fields can be listed more than once, and fields not
listed can be output using the --rest option. Examples:
tsv-select -f 4,2,9 file1.tsv file2.tsv
tsv-select --delimiter ' ' -f 2,4,6 --rest last file1.txt
cat file*.tsv | tsv-select -f 3,2,1
Options:
EOS";
tsv_select
functionsstructsvariables