Remove dependency to uniq command