in reply to Re: print lines which are not reverse duplicates
in thread print lines which are not reverse duplicates

1 while s/^(\w+),(\w+),.*\n((?:.*\n)*?)^\2,\1,.*\n/$3/gm;

Awesome, as usual. Thanks for all your regex examples which I for one invariably marvel at.