BYTES-CIRCLE(1)
β¨ NAME β¨
bytes-circle β bestie, this shows you byte statistics as an ASCII circle graph π (it's in the General Commands Manual, iykyk, and the command is literally called bytes-circle)
π SYNOPSIS π
bytes-circle
[-o {0|1|2|3}] [-bBglLZnruvh] [-[fsStT] #] [-z {0-255}] files...
π¦ DESCRIPTION π¦
okay so bytes-circle is a program that shows statistics about bytes contained in a file, as an ASCII circle graph of deviations from mean in standard deviation (sigma) fraction increments. no cap. it's giving data visualization but make it ASCII π
By default, byte 0 is at the center of the circle and next bytes until 256 are situated counterclockwise around the center. so cute, so organized πΈ
bytes-circle expects a colour terminal, though other options are available. (translation: it wants that rainbow, but it will survive without π«Ά)
The ASCII art produced uses this char array to represent increment values of 1/4*sigma from the statistic's mean:
. , - ~ + * o O # @
This ranges from zero (.) on the left, to 9/4*sigma (@) on the right. If value is zero or over the mean the char is printed green. If it is below the mean, it's printed red. A (blue) = char represents a byte value that doesn't appear in the file. green = slay, red = not slay, blue = = ghost byte π»
π OPTIONS π
filesβ One or more files. If no file is indicated, standard input is used. (no file? bestie it'll just read from stdin, no biggie)-o {0|1|2|3}β0=default |1=no color |2=numbers |3=uncoloured numbers-bβ No color (Black & white). In this case, ASCII art is adjusted so the zero sigma is at the middle of the chars array (char'*'). Increments are 1/2*sigma. (monochrome era π)-Bβ ('Break') stop processing files on first error encountered.-gβ ('Global') show summary values for file, when using-[sS].-lβ List number of bytes counted, from 0 to 255.-Lβ List number of bytes counted, excluding zero valued.-Zβ List number of bytes counted, but only zero valued.-nβ Use Numbers. In this case, coloured numbers are used to represent values from 0 to 9/4*sigma.-rβ Restrict statistics to the byte values that appear in the file, not to the 256 default. This only makes a difference if there are byte values that do not appear in the file.-uβ Use Uncoloured numbers (equivalent to-b -n). In this case, numbers are used to represent positive deviations from 0 to 9/4*sigma, and letters are used to represent negative deviations from'a'(-0) to'i'(-9/4)*sigma.-vβ Show program version and list chars used in coloured circle.-hβ Show summary of options.-f #β ('From') analyze file from # byte on (1 implicit). SI suffixes supported.-s #β Slice file in slices of size # bytes. SI suffixes supported.-S #β Slice file in # slices. SI suffixes supported.-t #β ('To') analyze file until # byte. SI suffixes supported.-T #β ('To') analyze this # bytes from-f. SI suffixes supported.-z {0-255}β Show a second circle centered on indicated byte bucket. A zero value is equivalent to 127 for ease of use. This way a second view of the statistics is available for data disaggregation. (double the circle, double the vibe π₯)
Note about SI suffixes: use one ofkmgtpe(powers of 10),KMGTPE(powers of 2), and prefixes'0x'(hexadecimal number) and'0'(octal number). lowercase = base 10, uppercase = base 2, and the0x/0prefixes are hex and octal respectively. don't mix them up bestie π«Ά
π AUTHOR π
This program was written by Roberto S. Galende <roberto.s.galende@gmail.com> and is copyrighted under the GPL, version 3 or later. shoutout to the author fr fr π
okay that's the whole page bestie, you ate that π version 3.1, dated August 2, 2021, from the General Commands Manual β go forth and graph those bytes, you absolute icon π
β¨π¦
π¦ where this page comes from
- debian bookworm: bytes-circle 3.1-1 Β· GPL-3.0-or-later
- debian trixie: bytes-circle 3.1-1 Β· GPL-3.0-or-later
- ubuntu jammy: bytes-circle 3.1-1 Β· GPL-3.0-or-later
- ubuntu noble: bytes-circle 3.1-1 Β· GPL-3.0-or-later
- ubuntu resolute: bytes-circle 3.1-1build1 Β· GPL-3.0-or-later
- ubuntu stonking: bytes-circle 3.1-1build1 Β· GPL-3.0-or-later
- Copyright 2018 Roberto S. Galende <roberto.s.galende@gmail.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms