tsv2txt_table
A awk/bash script that formats a TSV file into a plaintext table.
Download
tsv2txt_tableExample
TSV file `test.tsv`:
here^Iare^Isome$ words^I^Iand^Inumbers$ ^Ilike^I1^Iand^I2^Iand 3$
Output of `./tsv2txt_table test.tsv`:
+---------------------------------------------+ | here | are | some | | | | | | words | | and | numbers | | | | | | like | 1 | and | 2 | and | 3 | +---------------------------------------------+
Response: 20 (Success), text/gemini
| Original URL | gemini://tilde.club/~filip/tech/script/tsv2txt_table/tsv2... |
|---|---|
| Status Code | 20 (Success) |
| Content-Type | text/gemini; charset=utf-8; lang=en |