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.
In reply to Re^2: print lines which are not reverse duplicates
by hippo
in thread print lines which are not reverse duplicates
by Maire
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |