On Fri Feb 21, 2025 at 3:22 PM CET, onf wrote: > 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.
With all that said, what might be relevant to this topic is that neatroff adds, among other things, requests co< and co>, which read string from a file and write string to a file, respectively. They parse their arguments exactly as ds does. ~ onf