update:
I tried this code:
my $lastrow = ""; while (my $line == "fail.txt") { $line =~ /(.*?)\n/; $line = $1; if ($line ne $lastrow) { print $line, "\n"; $lastrow = $line; } }
but didnt processed anything it showed blinking underscore for so long, I think it hangs..
In reply to Re: Delete Duplicate Entry in a text file
by astronogun
in thread Delete Duplicate Entry in a text file
by astronogun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |