nushell/docs/commands/size.md

24 lines
1,002 B
Markdown
Raw Normal View History

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