Follow-up Comment #2, bug #61040 (project groff):
The test failed with "-Tlatin1" being different from "-Tascii".
So I thought the "-T" option was the test.
Now looking at the content of the test,
it is now evident to me,
that the real test is to find out
if the used shell resolves correctly the parameter expansion
'${1+"$@"}'
I see two solutions
1) add "-Tascii" to the nroff command
2) add " -- " after the options to "nroff"
change the "sedexpr" to '^.* -- ' and the testing string for "groff"
accordingly.
N.B.
A test for invalid arguments to the "-T" option is missing,
otherwise a value from the environment is supplied without telling the
user.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61040>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/