barchar

command module
v0.0.0-...-7e89635 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2018 License: MIT Imports: 9 Imported by: 0

README

barchar

barchar is a simple visualization command for result of uniq -q.

Usage

$ for i in {1..1000}; do echo label_$(((RANDOM%15+1))); done | sort | uniq -c | sort -nr | barchar -bar-width 10 -label-width 10
label_15   ########## 84
label_10   ######### 82
label_14   ######### 77
label_11   ######## 70
label_3    ######## 68
label_2    ######## 68
label_4    ####### 67
label_12   ####### 65
label_6    ####### 64
label_5    ####### 64
label_1    ####### 64
label_7    ####### 61
label_13   ###### 57
label_9    ###### 56
label_8    ###### 53

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL