/file_charcount

counts same chars and allows to analyze big files

Primary LanguageC

file_charcount

counts same chars and allows to analyze big files

sample:

###input.txt 00000001000000200203000001023012312232222000000000000000d0d000000ddddd0000dd0dd000000000000222000030000000000f0f0f0ffffff0000000a0a0000000aaaaa0

###Shell: #./run input.txt FROM: input.txt 0 7 1 1 0 6 2 1 0 2 2 1 0 1 3 1 0 5 1 1 0 1 2 1 3 1 0 1 1 1 2 1 3 1 1 1 2 2 3 1 2 4 0 15 d 1 0 1 d 1 0 6 d 5 0 4 d 2 0 1 d 2 0 12 2 3 0 4 3 1 0 10 f 1 0 1 f 1 0 1 f 1 0 1 f 6 0 7 a 1 0 1 a 1 0 7 a 5 0 1