in reply to Re^2: How to match duplicate lines in a text file and extract only one of those lines to a new file
in thread How to match duplicate lines in a text file and extract only one of those lines to a new file
Hi Guys, I am new to perl, I have a situation which is very similar to this, where my input rows are given below and I have to find the duplicates on the first column
green apple green grapes blue blueberries orange pappaya orange orange
Output: green apple/grapes blue blueberries orange pappaya/orange
can one of you guys please explain this code... Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to match duplicate lines in a text file and extract only one of those lines to a new file
by 1nickt (Canon) on Aug 19, 2015 at 10:01 UTC | |
by perlnewbie012215 (Novice) on Aug 20, 2015 at 04:23 UTC |