Hi.. I am new to unix !!!
Please help me in combining two files by validating the first column.
The files are tab limited !!!
I have a file which has the following contents...
DEPT1_BABYCARE 20 abce
DEPT2_PHARMACY 50 cdgde
DEPT3_WOMENS 75 jasjjas
I have another file which has the following contents
DEPT1_BABYCARE 30 50
DEPT2_PHARMACY 70 90
DEPT4_GROCERY 90 99 ( This line has to be removed as its not available in first file)
Now I have to combine both the files...
DEPT1_BABYCARE 20 abce 30 50
DEPT2_PHARMACY 50 cdgde 70 90
DEPT3_WOMENS 75 jasjjas NA NA
Please help ...
