Hi All,
I need some help in writing a small script using Awk.
My input file has following deatils
A,B,C,D
8239359,8239359,8388125,8388125
8239359,8239359,8388125,8388125
7165981,7165981,8363138,8363138
8283830,8283830,8382987,8382987
8209964,8209964,8367098,8367098
8279587,8279587,8345975,8345975
8283830,8283830,8382987,8382987
My aim is to get the following output
If a=b(any line column) then search (c=d) and print a,b,c,d
please note that the numbers a,b,c,d are not sorted
I would appreciate the help.
Best Regards
Pistachio