You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+41-25Lines changed: 41 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,11 @@
2
2
3
3
**circle** reads all bytes in a file, and counts and arranges them from 0x00 to 0xff. Then it calculates the Standard deviation (sigma) of the data, and arranges the 256 resulting buckets in a circle, in such a way that the distance from the centre is proportional to the byte value (with 0x00 at the center, and ...0xf0-0xff bytes the farthest from it). The char that represents each byte is proportional to the deviation from the mean, in fractions of the standard deviation.
4
4
5
-
From v2.6, the list of different bytes counted can be printed using options `-l`, `-L`, `-Z`. Values over the mean will be printed green, and below it, they will be red.
5
+
The list of different bytes counted can be printed using options `-l`, `-L`, `-Z`. Values over the mean will be printed green, and below it, they will be red.
6
+
7
+
Also the file can be sliced in slices of size # with `-s #`, or sliced in # slices with `-S #`.
8
+
9
+
Initial and end absolute bytes in the file can be indicated with `-f #` (from) and `-t #` (to) respectively. `-T #` (instead of `-t`) can be used to indicate the chunk size to analyze after `-f #` byte.
6
10
7
11
Installation
8
12
============
@@ -17,10 +21,10 @@ There is a PPA repository available for Ubuntu (contains versions from *precise*
17
21
$ sudo apt-get update
18
22
$ sudo apt-get install bytes-circle
19
23
20
-
There're [executable files for various OS available here](https://drive.google.com/folderview?id=0B1L_hFrWJfRhODE3RE5fNGNaWWM), including versions for Windows, HP-UX and Solaris.
21
-
22
24
If using [R](https://cran.r-project.org/), there's a port here: [https://github.com/circulosmeos/bytescircle](https://github.com/circulosmeos/bytescircle).
23
25
26
+
There're [executable files for various OS available here](https://drive.google.com/folderview?id=0B1L_hFrWJfRhODE3RE5fNGNaWWM), including versions for Windows, HP-UX and Solaris.
Options for non-colored consoles (in this case chars represent increments of 0.5 sigma and zero is char '*') and for using numbers instead of ASCII art are also available:
56
+
Options for non-colored consoles (in this case chars represent increments of 0.5 sigma and zero is char '*') and for using numbers instead of ASCII art are also available: `-[bnu]` or `-o {0|1|2|3}`.
57
+
58
+
Usage
59
+
=====
53
60
54
61
$ bytes-circle -h
55
62
56
-
circle v2.6 (goo.gl/TNh5dq)
57
-
58
-
Show statistics about bytes contained in a file,
59
-
as a circle graph of deviations from sigma.
60
-
61
-
Use:
62
-
$ circle [-o {0|1|2|3}] [-BblLZnruvh] [-z {0-255}] [<filename>] [<filename>] ...
63
-
64
-
-o {0 | 1=no color | 2=numbers | 3=uncoloured numbers}
65
-
-B : stop processing files on first error encountered
66
-
-b : no color
67
-
-l : list number of bytes counted, from 0 to 255
68
-
-L : list number of bytes counted, excluding zero valued
69
-
-Z : list number of bytes counted, but only zero valued
70
-
-n : numbers
71
-
-r : restrict statistics to the byte buckets that appear
72
-
in the file, not to the 256 default value.
73
-
-u : uncoloured numbers (-b -n)
74
-
-v : prints version
75
-
-h : prints this help
76
-
-z {0-255} : prints a 2nd circle centered on this byte (0==127 !)
63
+
circle v3.0 (goo.gl/TNh5dq)
64
+
65
+
Show statistics about bytes contained in a file,
66
+
as an ASCII circle graph of deviations from mean
67
+
in standard deviation (sigma) fraction increments.
0 commit comments