in reply to Delete duplicate data in file

perl -pi -e'$_ = "" if $seen{ $_ }++' temp/*

Makeshifts last the longest.