Hi Anton,
> mmst1: tr -d \015 < [infile]| groff -s -Kcp1251 -t
> -Tutf8>[outfile].txt
> mmst2: soelim [infile] | tr -d \015 | groff -Kcp1251 -t
> -Tutf8>[outfile].txt
Does groff's -V option help? It shows the constructed pipeline.
$ groff -V -Kcp1251 -t -Tutf8
preconv -ecp1251 | tbl | troff -Tutf8 | grotty
$ groff -V -s -Kcp1251 -t -Tutf8
preconv -ecp1251 | soelim | tbl | troff -Tutf8 | grotty
$
The preconv has happened before soelim if -s is used whereas when you
run it manually, it's after.
Cheers, Ralph.