2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-01-15 06:34:15 +00:00
nushell/docs/commands/length.md

382 B

title layout version
length command 0.59.1

Count the number of elements in the input.

Signature

> length --column

Parameters

  • --column: Show the number of columns in a table

Examples

Count the number of entries in a list

> echo [1 2 3 4 5] | length

Count the number of columns in the calendar table

> cal | length -c