Hi,
I have a file with values like this
1 11
2 11
3 44
4 55
5 66 (an representative of what I have).
I want to split this file into smaller files based on column 1 values (values within a range).
The issue that I am facing is that the file is really big, and takes too long to run.
Is there anyway that I can do this-
1. given a initial range, export the values, save the last line number.
2. start the next search from where the previous search finished.
I tried playing with NR values but turned up useless.
Or may be SED is an alternative?
HELP!!
Thanks a lot in advance