mirror of
https://github.com/nushell/nushell.git
synced 2024-11-29 20:03:54 +01:00
523 B
523 B
title | layout | version |
---|---|---|
detect columns | command | 0.59.1 |
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
> echo 'a b c' | detect columns -n
Splits a multi-line string into columns with headers detected
> echo $'c1 c2 c3(char nl)a b c' | detect columns