Timeline for I want to find duplicates in a file and add a character to the end of the line on the 1st match
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 3, 2013 at 16:30 | comment | added | Sean | Sorry I should have said thanks for you help and very quick reply. | |
| Jun 3, 2013 at 16:21 | comment | added | Sean | Hi Hauke, almost worked, just had to change the awk '{if (++dup[$2] == 1) print $2;}' test.html > dupes.txt to awk '{if (++dup[$2] == 2) print $2;}' test.html > dupes.txt | |
| Jun 3, 2013 at 15:46 | history | answered | Hauke Laging | CC BY-SA 3.0 |