in reply to duplicate lines

don't chomp, and remove the  print DUPremoved "\n"; line.