bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61040] verbose_option_works.sh: option "-T..." for "nroff" is a va


From: Bjarni Ingi Gislason
Subject: [bug #61040] verbose_option_works.sh: option "-T..." for "nroff" is a variable, but a constant in the test string
Date: Tue, 17 Aug 2021 18:10:22 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]