2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-01-29 05:13:31 +00:00
nushell/docs/commands/size.md

1,012 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
━━━━━━━┷━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━━