De-duplicate line variables