Hi Everyone,
I am new to AWK and need alittle help! I have 2 tables and I need to extract and join them to one, based on a common identifier in both tables. Example:
Table 1:
S/N vial_ID S_ID value_1 value_2
1 v11 f1001 567 789
2 v12 f2087 786 567
Table2:
name S_ID typeA typeB
seed f7890 8 56
sap f1001 5 65
rap f7650 2 54
cap f2087 1 1
OUTPUT should look like:
vial_ID S_ID value_1 value_2 typeA typeB
v11 f1001 567 789 5 65
v12 f2087 786 567 1 1
I would be most grateful if someone could help me here. Thank you
curious K
I am new to AWK and need alittle help! I have 2 tables and I need to extract and join them to one, based on a common identifier in both tables. Example:
Table 1:
S/N vial_ID S_ID value_1 value_2
1 v11 f1001 567 789
2 v12 f2087 786 567
Table2:
name S_ID typeA typeB
seed f7890 8 56
sap f1001 5 65
rap f7650 2 54
cap f2087 1 1
OUTPUT should look like:
vial_ID S_ID value_1 value_2 typeA typeB
v11 f1001 567 789 5 65
v12 f2087 786 567 1 1
I would be most grateful if someone could help me here. Thank you
curious K