mirror of
https://github.com/nushell/nushell.git
synced 2024-11-30 12:24:03 +01:00
c0a1d18e3d
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
32 lines
688 B
Markdown
32 lines
688 B
Markdown
---
|
|
title: from ssv
|
|
layout: command
|
|
version: 0.59.0
|
|
---
|
|
|
|
Parse text as space-separated values and create a table. The default minimum number of spaces counted as a separator is 2.
|
|
|
|
## Signature
|
|
|
|
```> from ssv --noheaders --aligned-columns --minimum-spaces```
|
|
|
|
## Parameters
|
|
|
|
- `--noheaders`: don't treat the first row as column names
|
|
- `--aligned-columns`: assume columns are aligned
|
|
- `--minimum-spaces {int}`: the minimum spaces to separate columns
|
|
|
|
## Examples
|
|
|
|
Converts ssv formatted string to table
|
|
```shell
|
|
> 'FOO BAR
|
|
1 2' | from ssv
|
|
```
|
|
|
|
Converts ssv formatted string to table but not treating the first row as column names
|
|
```shell
|
|
> 'FOO BAR
|
|
1 2' | from ssv -n
|
|
```
|