mirror of
https://github.com/nushell/nushell.git
synced 2025-02-16 18:41:44 +01:00
Merge pull request #950 from coolshaurya/docs-size
Make documentation for size command
This commit is contained in:
commit
02f3330812
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 New Issue
Block a user