Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 590 Bytes

README.md

File metadata and controls

40 lines (30 loc) · 590 Bytes

unistat

Unistat is a tool for calculating simple statistics on a set of unicode characters.

Getting Started

To install, simply run:

$ go get github.com/benbjohnson/unistat

Then run unistat against your file:

$ unistat /path/to/myfile.txt
Control:   0
Digit:     27534
Graphic:   106517
Letter:    63330
Lower:     58824
Mark:      0
Number:    27534
Print:     106517
Punct:     10134
Space:     2069
Symbol:    3450
Title:     0
Upper:     4506

Total:     106517

You can also pipe in data from STDIN:

$ cat /path/to/myfile.txt | unistat