Hi,
I need to extract fields out of a file if the header of the field matches a a header of another file. For example.
File1: has only one row (reference)
x1 x2 x3 x4 x5 x6
File2: has more or less fields than that of File one:
x2 x4 x6 x7 x10
1 33 33 44 55
23 33 44 56 66
.
.
.
etc
I want to extract only the full records from File2 which their headers exist in the header of File1:
x2 x4 x6
1 33 33
23 22 44
Can any body help..
Thank you in advance,
Agilo
I need to extract fields out of a file if the header of the field matches a a header of another file. For example.
File1: has only one row (reference)
x1 x2 x3 x4 x5 x6
File2: has more or less fields than that of File one:
x2 x4 x6 x7 x10
1 33 33 44 55
23 33 44 56 66
.
.
.
etc
I want to extract only the full records from File2 which their headers exist in the header of File1:
x2 x4 x6
1 33 33
23 22 44
Can any body help..
Thank you in advance,
Agilo