sS unidiff_rtrim(S a, S b) { ret unidiff(rtrimAllLines(a), rtrimAllLines(b)); }