I need help counting the number of times a particular number is used in a text file...
and to output a number of results to a text file...
eg:
(input.txt):
01 40 39 01 72 39 36 56 72
82 39
###
56 62 38 03 03 06 38 30 42 ###
(output.txt):
read1:
39 = 3
01 = 2
72 = 2
36 = 1
read 2:
03 = 2
06 = 1
### = end/restart count
can anyone help??