in reply to How to match duplicate lines in a text file and extract only one of those lines to a new file