nushell/docs/commands/group.md
Justin Ma 0d82d7df60
Update documents for commands (#4796)
* Update documents of commands

* Change plugin names for register command examples

* Remove unused docs [ci skip]
2022-03-09 08:05:35 -05:00

23 lines
275 B
Markdown

---
title: group
layout: command
version: 0.59.1
---
Groups input into groups of `group_size`.
## Signature
```> group (group_size)```
## Parameters
- `group_size`: the size of each group
## Examples
Group the a list by pairs
```shell
> echo [1 2 3 4] | group 2
```