sS uniquifyLines(S s) { ret lines_possiblyRTrim(s, uniquify(lines(s))); }