in reply to Re^3: How to check lines that start with the same word then delete one of them
in thread How to check lines that start with the same word then delete one of them
Thank you for your answer.
The problem is that I've a big file (40000 line), that's why I did'nt bring it to my post.
and also I can't specify all the wanted lines, I just want to check if for every line there is another line witch have the same first word then I check it to delete one of them, that's why I did two loops.
but the algorithm is so slow
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: How to check lines that start with the same word then delete one of them
by hippo (Bishop) on Apr 10, 2020 at 13:15 UTC | |
by rsFalse (Chaplain) on Apr 10, 2020 at 15:13 UTC | |
by Laurent_R (Canon) on Apr 10, 2020 at 15:42 UTC |
In Section
Seekers of Perl Wisdom