mirror of
https://github.com/nushell/nushell.git
synced 2024-12-29 18:39:24 +01:00
f54cf8a096
Since max length is just getting the byte length, rename to bytes in order to be more clear.
24 lines
1002 B
Markdown
24 lines
1002 B
Markdown
# size
|
|
|
|
This commands gives word count statistics on any text.
|
|
|
|
## Examples
|
|
|
|
```shell
|
|
> open lalala.txt | size
|
|
━━━━━━━┯━━━━━━━┯━━━━━━━┯━━━━━━━━━━━━
|
|
lines │ words │ chars │ bytes
|
|
───────┼───────┼───────┼────────────
|
|
4 │ 10 │ 72 │ 72
|
|
━━━━━━━┷━━━━━━━┷━━━━━━━┷━━━━━━━━━━━━
|
|
```
|
|
|
|
```shell
|
|
> open the_mysterious_affair_at_styles.txt | size
|
|
━━━━━━━┯━━━━━━━┯━━━━━━━━┯━━━━━━━━━━━━
|
|
lines │ words │ chars │ bytes
|
|
───────┼───────┼────────┼────────────
|
|
8935 │ 62352 │ 349459 │ 361771
|
|
━━━━━━━┷━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━━
|
|
```
|