to tsv for formats

Convert table into .tsv text.

Signature

> to tsv {flags}

Flags

  • --noheaders, -n: do not output the column names as the first row

Input/output types:

inputoutput
recordstring
tablestring

Examples

Outputs an TSV string representing the contents of this table

> [[foo bar]; [1 2]] | to tsv
foobar
12

Outputs an TSV string representing the contents of this record

> {a: 1 b: 2} | to tsv
ab
12