remove duplicated lines
mmmh maybe like this... untested but you can try
use File::Copy; open my $file, '<' "myfile"; open my $file2 '>', "/path/to/mynewfile"; copy ($file, $file2); my $file2 =~ s/^([[:alnum:]]+)$\n{1}$1/$1/g;
In reply to Re: removing duplicates lines plus strings from a file
by pvaldes
in thread removing duplicates lines plus strings from a file
by kirpy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |