Using novosort to remove duplicates in piped command