nushell/docs/commands/size.md

24 lines
1012 B
Markdown

# size
This commands gives word count statistics on any text.
## Examples
```shell
> open lalala.txt | size
━━━━━━━┯━━━━━━━┯━━━━━━━┯━━━━━━━━━━━━
lines │ words │ chars │ max length
───────┼───────┼───────┼────────────
4107272
━━━━━━━┷━━━━━━━┷━━━━━━━┷━━━━━━━━━━━━
```
```shell
> open the_mysterious_affair_at_styles.txt | size
━━━━━━━┯━━━━━━━┯━━━━━━━━┯━━━━━━━━━━━━
lines │ words │ chars │ max length
───────┼───────┼────────┼────────────
893562352349459361771
━━━━━━━┷━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━━
```