https://github.com/benbjohnson/unistat
A utility for calculating simple statistics on unicode characters.
https://github.com/benbjohnson/unistat
Last synced: 6 months ago
JSON representation
A utility for calculating simple statistics on unicode characters.
- Host: GitHub
- URL: https://github.com/benbjohnson/unistat
- Owner: benbjohnson
- License: mit
- Created: 2015-09-11T15:28:35.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-11T15:34:40.000Z (over 10 years ago)
- Last Synced: 2025-07-10T06:20:04.093Z (6 months ago)
- Language: Go
- Size: 121 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
unistat
=======
Unistat is a tool for calculating simple statistics on a set of unicode characters.
## Getting Started
To install, simply run:
```sh
$ go get github.com/benbjohnson/unistat
```
Then run `unistat` against your file:
```sh
$ 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:
```sh
$ cat /path/to/myfile.txt | unistat
```