Request detail
file1 has ids, needs to be mapped with file2 column 6, which has those ids and print in file 3
file 1 has duplicate ids and I want file3 to have file 2 column data printed with the duplicate ids.
eg:
file1:
1
2
2
4
file2:
a b c d e 2 f
a1 b1 c1 d1 e1 1 f1
a2 b2 c2 d2 e2 4 f2
file3 output:
a1 b1 c1 d1 e1 1 f1
a b c d e 2 f
a b c d e 2 f
a2 b2 c2 d2 e2 4 f2
After Executing Shell Script:
No comments:
Post a Comment