Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 873 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 873 Bytes

Go

t-plot

It's simple utility for plot bar chart from numbers in the terminal. By default it's plot chart from stdin, one number per line and add bar chart to the end of line.

Installation

go install github.com/msoap/t-plot@latest

Options

  • -k N - column number for plot (default: 1)
  • -c "#" - chart symbol (default: #)
  • -w N - width of chart (default: rest of terminal width)
  • -h - print help and exit

Examples

# plot chart from stdin by file size in ls (column 5)
$ ls -l | t-plot -k 5

# chart by file sizes from du
$ du -s some_path/* | t-plot

Screenshot

image