Link to home
Start Free TrialLog in
Avatar of wayboo
waybooFlag for United States of America

asked on

grep or awk for numbers in a text file within a set range


Hi experts,
I have a text file which has a large amount of numbers in the below format, I need to find a set range of number then perform a word count on it. (example: looking for the amount of times there are numbers between 0 and 10 in the file?

283
5
20
0
14
294
2147
5
0
851
3
11
1315
0
263
11
2549
607
0
3
ASKER CERTIFIED SOLUTION
Avatar of tty2
tty2
Flag of Ukraine image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wayboo

ASKER

works great