while () { print DUPremoved if not $lines{$_}++; }