static L rtrimAll(L l) { new L l2; for (S s : l) l2.add(rtrim(s)); ret l2; } static S rtrimAll(S s) { ret lines(rtrimAll(lines(s))); }