ashykhanna
Programmer
Hi,
I have a huge file and i want that to be split into two.
I want the first file to contain all the records till a given condition. Suppose i have
100name Lowerlevel
101a1111programer
102a2222engineer
103a2323analyst
104a3434managers
105a2343smanager
106a4322Dmanager
i want the first file to have all records till i find a managers record and the second file should contain the rest. How can i achieve this using dfsort (no icetool).
file1
100name Lowerlevel
101a1111programer
102a2222engineer
103a2323analyst
file2
104a3434managers
105a2343smanager
106a4322Dmanager
Thanks,
Ashok
I have a huge file and i want that to be split into two.
I want the first file to contain all the records till a given condition. Suppose i have
100name Lowerlevel
101a1111programer
102a2222engineer
103a2323analyst
104a3434managers
105a2343smanager
106a4322Dmanager
i want the first file to have all records till i find a managers record and the second file should contain the rest. How can i achieve this using dfsort (no icetool).
file1
100name Lowerlevel
101a1111programer
102a2222engineer
103a2323analyst
file2
104a3434managers
105a2343smanager
106a4322Dmanager
Thanks,
Ashok