nushell/docs/commands/size.md
2019-11-10 14:41:23 +05:30

1,004 B

size

This commands gives word count statistics on any text.

Examples -

> open lalala.txt | size
━━━━━━━┯━━━━━━━┯━━━━━━━┯━━━━━━━━━━━━
 lines │ words │ chars │ max length 
───────┼───────┼───────┼────────────
     4107272 
━━━━━━━┷━━━━━━━┷━━━━━━━┷━━━━━━━━━━━━
> open the_mysterious_affair_at_styles.txt | size
━━━━━━━┯━━━━━━━┯━━━━━━━━┯━━━━━━━━━━━━
 lines │ words │ chars  │ max length 
───────┼───────┼────────┼────────────
  893562352349459361771 
━━━━━━━┷━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━━