Hi guys..
here's the issue i am facing..
i have 2 files..
first file (f1) data is somewhat like this.
<----><-----> (2 fields of 5 byte each)
1234599999
2nd file (f2)
<----><----><->(3 fields of 5 5 and 3 byte respectively)
xxxxx12345abc
xxxxx12345pqr
qwers12345xyz
qweds33333abx
qweda44444acv
now i want to compare these 2 files with 1st 5 bytes of f1 and 6-10 byte of f2.
if the record matches than rite it in the output file.(for every 1 record in f1 there is a possibilty of multiple records in f2 as shown in the above example, so all needs to be updated with the another number present in f2)
and my output file f3 shd be something like that.
xxxxx99999abc
xxxxx99999pqr
qwers99999xyz
qweds33333abx
qweda44444acv
i know its possible thru splice but not able to figure it out exactly..
thanks