From 5a8128dd302d3b2dcba42e56a7fb4325b1fabb5e Mon Sep 17 00:00:00 2001 From: Shaurya Shubham Date: Sun, 10 Nov 2019 14:41:23 +0530 Subject: [PATCH] Make documentation for size command --- docs/commands/size.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docs/commands/size.md diff --git a/docs/commands/size.md b/docs/commands/size.md new file mode 100644 index 0000000000..02599dcce9 --- /dev/null +++ b/docs/commands/size.md @@ -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 +━━━━━━━┷━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━━ +```