Hi,
I 'm new to shell script and seems like you answered lot of questions in shell, Please help me to answer this question,
I have a file called temp1.txt, data in this file is
abcd text1 text2 sdksjdj
ands text2 text isudiusd
DELETE D D SDSDS
DELETE D D DFSSDSD
I would like to delete everything after DELETE and put it in a file, everything before DELETE I would like to put it in another file, basically I want to split the data in to two files, is there a way to do this in korn shell?
Please help.
Thanks.
Kondal