forked from extern/nushell
c0a1d18e3d
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
29 lines
523 B
Markdown
29 lines
523 B
Markdown
---
|
|
title: detect columns
|
|
layout: command
|
|
version: 0.59.0
|
|
---
|
|
|
|
splits contents across multiple columns via the separator.
|
|
|
|
## Signature
|
|
|
|
```> detect columns --skip --no-headers```
|
|
|
|
## Parameters
|
|
|
|
- `--skip {int}`: number of rows to skip before detecting
|
|
- `--no-headers`: don't detect headers
|
|
|
|
## Examples
|
|
|
|
Splits string across multiple columns
|
|
```shell
|
|
> echo 'a b c' | detect columns -n
|
|
```
|
|
|
|
Splits a multi-line string into columns with headers detected
|
|
```shell
|
|
> echo $'c1 c2 c3(char nl)a b c' | detect columns
|
|
```
|