2022-02-14 02:22:51 +00:00
|
|
|
---
|
|
|
|
title: from tsv
|
|
|
|
layout: command
|
|
|
|
version: 0.59.0
|
|
|
|
---
|
|
|
|
|
|
|
|
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 17:26:00 +00: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
|
|
|
|
```
|