mirror of
https://github.com/nushell/nushell.git
synced 2024-12-27 01:19:25 +01:00
21 lines
1004 B
Markdown
21 lines
1004 B
Markdown
|
# size
|
||
|
|
||
|
This commands gives word count statistics on any text.
|
||
|
|
||
|
## Examples -
|
||
|
|
||
|
```shell
|
||
|
> open lalala.txt | size
|
||
|
━━━━━━━┯━━━━━━━┯━━━━━━━┯━━━━━━━━━━━━
|
||
|
lines │ words │ chars │ max length
|
||
|
───────┼───────┼───────┼────────────
|
||
|
4 │ 10 │ 72 │ 72
|
||
|
━━━━━━━┷━━━━━━━┷━━━━━━━┷━━━━━━━━━━━━
|
||
|
> open the_mysterious_affair_at_styles.txt | size
|
||
|
━━━━━━━┯━━━━━━━┯━━━━━━━━┯━━━━━━━━━━━━
|
||
|
lines │ words │ chars │ max length
|
||
|
───────┼───────┼────────┼────────────
|
||
|
8935 │ 62352 │ 349459 │ 361771
|
||
|
━━━━━━━┷━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━━
|
||
|
```
|