2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: from tsv
|
|
|
|
layout: command
|
2022-03-04 13:10:09 +01:00
|
|
|
version: 0.59.1
|
2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
Parse text as .tsv and create table.
|
|
|
|
|
|
|
|
## Signature
|
|
|
|
|
|
|
|
```> from tsv --noheaders```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
- `--noheaders`: don't treat the first row as column names
|
|
|
|
|
2022-02-21 18:26:00 +01:00
|
|
|
## Examples
|
|
|
|
|
|
|
|
Create a tsv file with header columns and open it
|
|
|
|
```shell
|
|
|
|
> echo $'c1(char tab)c2(char tab)c3(char nl)1(char tab)2(char tab)3' | save tsv-data | open tsv-data | from tsv
|
|
|
|
```
|
|
|
|
|
|
|
|
Create a tsv file without header columns and open it
|
|
|
|
```shell
|
|
|
|
> echo $'a1(char tab)b1(char tab)c1(char nl)a2(char tab)b2(char tab)c2' | save tsv-data | open tsv-data | from tsv -n
|
|
|
|
```
|