I have a task requiring some awk to verify a few records quickly.
A1,A2 B1,B2 C1,C2 C2,C1 A1,C1 A1,B1 B1,A1
Which would be the best way to check for reciprocity only between the A# the B# and the C# and output only the non reciprocal. For instance: the above should output
A2 -> A1 B2 -> B1
A# belong to one group, B# to another and so on. There's no interest in findind any sort of conexion between A# and C# or B#. Instead it is required to keep the search within the group of As, Bs, Cs and so on.