2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-13 20:48:41 +00:00
nushell/docs/commands/size.md

24 lines
1,012 B
Markdown
Raw Normal View History

2019-11-10 14:41:23 +05:30
# size
This commands gives word count statistics on any text.
## Examples
2019-11-10 14:41:23 +05:30
```shell
> open lalala.txt | size
━━━━━━━┯━━━━━━━┯━━━━━━━┯━━━━━━━━━━━━
lines │ words │ chars │ max length
2019-11-10 14:41:23 +05:30
───────┼───────┼───────┼────────────
4 │ 10 │ 72 │ 72
2019-11-10 14:41:23 +05:30
━━━━━━━┷━━━━━━━┷━━━━━━━┷━━━━━━━━━━━━
```
```shell
2019-11-10 14:41:23 +05:30
> open the_mysterious_affair_at_styles.txt | size
━━━━━━━┯━━━━━━━┯━━━━━━━━┯━━━━━━━━━━━━
lines │ words │ chars │ max length
2019-11-10 14:41:23 +05:30
───────┼───────┼────────┼────────────
8935 │ 62352 │ 349459 │ 361771
2019-11-10 14:41:23 +05:30
━━━━━━━┷━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━━
```