in reply to Re^3: Find duplicate lines from the file and write it into new file.in thread Find duplicate lines from the file and write it into new file.
print "$duplicates{$_}\t$_" for grep $duplicates{$_} > 1,keys %duplica +tes; [download]