Split split command to sub commands.

This commit is contained in:
Andrés N. Robalino
2020-05-24 01:41:30 -05:00
parent 74c2daf665
commit edbecda14d
22 changed files with 154 additions and 57 deletions

View File

@ -0,0 +1,34 @@
# split row
splits contents over multiple rows via the separator.
Syntax: `split row <separator>`
### Parameters:
* `<separator>` the character that denotes what separates rows
## Examples
We can build a table from a file that looks like this
```shell
> open table.txt
4, 0, 2, 0, 7, 8
```
using the `split row` command.
```shell
open table.txt | split row ", "
━━━┯━━━━━━━━━
# │ <value>
───┼─────────
04
10
22
30
47
58
━━━┷━━━━━━━━━
```