Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Lookup between 2 files ( korn shell )
Hi ALL.,
THANKS for all your responses.
it seems to be working if the DS.txt is in this format
ALBD:xxxxx
FLN:yyyyyyy
WLG:ttttttt
i am getting the desired output i.e
OSC :ALBD: 377
OSC :ALBD :378
OSC: ALBD: 379
FLN :FLN: 140 FLN :FLN :141 WLG :WLG :243
ALBD:xxxxx
FLN:yyyyyyy GIE:ttttttt ( here there is no match) WLG:ttttttt
then the desired output is getting repeated twice..result.txt is;
OSC :ALBD: 377
OSC :ALBD :378
OSC: ALBD: 379
FLN :FLN: 140 FLN :FLN :141 WLG :WLG :243
WLG :WLG :246 MAT: WLG :247 OSC :ALBD: 377
FLN :FLN: 140 FLN :FLN :141 WLG :WLG :243
can anyone please give me a suggestion;
thanks
pavi
Received on Mon Jan 30 2006 - 08:06:02 CST