I have a set of .txt files with name:
table.iterations.txt where iterations = 1:10000 (so it is table.01.txt, table.02.txt, table.1001.txt etc, each file size is lower than 2kb).
Each txt file contains values, integers without decimals in different lines p.e.:
table.01.txt table.02.txt ... table.1001.txt
2 5 32
5 19 37
19 45 58
52 88 62
62 89 75
95 80
99 88
100
Each txt file can contain different number of values, where 0<value<101.
I need help on how could read all those files to find the percentage of occurrence of its value inside all txt files. On the above rough example, value 2 is present one time, value 5 two times, value 100 one time etc.
Thank you in advance.