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

275 B

title layout version
group command 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

> echo [1 2 3 4] | group 2