mirror of
https://github.com/nushell/nushell
synced 2025-01-13 13:49:21 +00:00
Make documentation for size command
This commit is contained in:
parent
59ab11e932
commit
5a8128dd30
1 changed files with 20 additions and 0 deletions
20
docs/commands/size.md
Normal file
20
docs/commands/size.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# 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
|
||||||
|
━━━━━━━┷━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━━
|
||||||
|
```
|
Loading…
Reference in a new issue