On Fri Feb 21, 2025 at 3:14 PM CET, onf wrote: > Well, I have thought about it a bit since yesterday and I think making > `so` similar to `tm` would be a better idea: > $ 9 nroff << EOF > .tm Lorem ipsum dolor \" print to stderr > EOF > Lorem ipsum dolor
Scrap that, I forgot to verify it's not actually adding a space. It is: $ 9 nroff << EOF 2>&1 | tr ' ' . .tm Lorem ipsum dolor \" print to stderr EOF Lorem.ipsum.dolor. Ideally, `so` would behave like `tm` except it would trim spaces at the end, but I understand that this would be adding yet another special case. Honestly, I never liked the fact `ds` doesn't trim trailing spaces. I never understood why the standard way of adding spaces to the end of a string is not following them with \&, e.g. .ds x Lorem \& .as x ipsum. ~ onf