mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
5ca9e12b7f
* Remove EOL whitespace in files other than docs * Break paragraphs into lines See http://rhodesmill.org/brandon/2012/one-sentence-per-line/ for the rationale * Fix various typos * Remove EOL whitespace in docs/commands/*.md
20 lines
1,000 B
Markdown
20 lines
1,000 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
|
|
━━━━━━━┷━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━━
|
|
```
|