diff options
author | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2024-06-17 09:08:15 +0200 |
---|---|---|
committer | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2024-06-17 09:12:46 +0200 |
commit | 1a9b46180fa1e796f2ed0bf965141490900ec77e (patch) | |
tree | ba3e3a8ca2bcce34ed28581fec170b06eb16a456 /tg.1 | |
parent | d82a5f6e1bc878b0e6a695f88eb69404ca6d571d (diff) | |
download | textgraph-1a9b46180fa1e796f2ed0bf965141490900ec77e.tar.gz textgraph-1a9b46180fa1e796f2ed0bf965141490900ec77e.zip |
Don't use the tg alias by default, add fedora build script
Diffstat (limited to 'tg.1')
-rw-r--r-- | tg.1 | 76 |
1 files changed, 0 insertions, 76 deletions
@@ -1,76 +0,0 @@ -.TH TG 1 2024-06-08 -.SH name -tg \- TermGraph \- Text graphing utility -.SH SYNOPSIS -.B tg [OPTIONS] [\fIinput_file\fB] - -.SH DESCRIPTION -.B tg -TermGraph is a utility for graphing - -.SH OPTIONS -.IP "\fB--help\fR" -Display help information. - -.IP "\fB-s, --silent\fR" -Disable distracting elements, such as axis and non-graph text. - -.IP "\fB-n, --last-n\fR \fIcount\fR" -If specified, only the newest \fIcount\fR samples will be plotted. -This can be useful if you want to follow the latest state of a graph that is piped in. - -.IP "\fB-c, --cut\fR" -This is a special case of \fB--last-n\fR. Where the number of columns -\fB--width\fI will be used for the count. - -.IP "\fB-a, --ascii\fR" -Shorthand for -t ascii, if multiple options setting mode is specified, -the last will likely be respected. - -.IP "\fB-b, --braille\fR" -Shorthand for -t braille, if multiple options setting mode is specified, -the last will likely be respected. - -.IP "\fB-t\fR \fIstar\fR|\fIascii\fR|\fIbraille\fR|\fIbraille6\fR|\fIbraille8\fR" -The type of graph to draw, -it defaults to \fBstar\fR, which is the fastest one. - -\fBstar\fR -Scatter plot using only the '*' character. - -\fBascii\fR -Ascii is slightly prettier to look at. - -\fBbraille\fR, -\fBbraille6\fR -Uses braille characters to draw higher resolution plots. - -\fBbraille8\fR -This is the most scatter-plot-ish with the highest resolution, but also the most buggy. - -.IP "\fB-w, --width\fR \fIwidth\fR" -Specify a width for the output. -If not specified, it will attempt to determine the TTY width and use that. -If it cannot be automatically determined, it will fail. - -.IP "\fB-h, --height\fR \fIheight\fR" -Specify a height for the output. -If not specified, it will attempt to determine the TTY height and use that. -If it cannot be automatically determined, it will fail. - -.IP "\fB--color\fR \fIyes\fR|\fIno\fR" -Enable or disable colors, by default color will be enabled if it looks like a tty is connected. - -It can therefore be nice to use \fB--color yes\fR -if you are piping the output into another program that supports colors. - -.SH EXAMPLES - -The simplest version is if you have a text file of values -.PP -.nf -.RS -cat \fIfile\fR | tg -.RE -.fi -.PP |