I have a tab-delimited text file, that is around 3K lines long.
I want to calculate frequency of data appearing in it, in 10,000 ranges.
Input.txt
Price
500
1500
10001
15000
17000
25000
33000
39000
:
:
8000000
Output.txt
Pricerange pricerangecount
0-10000 2
10000-20000 3
20000-30000 1
30000-40000 2
:
: