I have an array (@data) that contains data like this:
10 /var/tmp/test
8 /tmp/fdfd.s
132 /tmp/test/test2/sdafsdfsd
22 /opt/test/blah.txt
I would like to extract ranges of data based on the numbers in the first column. For example, all strings that are between 0-20 and all string that are above 200.
Can anyone help?
--- You must not fight too often with one enemy, or you will teach him all your tricks of war.
10 /var/tmp/test
8 /tmp/fdfd.s
132 /tmp/test/test2/sdafsdfsd
22 /opt/test/blah.txt
I would like to extract ranges of data based on the numbers in the first column. For example, all strings that are between 0-20 and all string that are above 200.
Can anyone help?
--- You must not fight too often with one enemy, or you will teach him all your tricks of war.