URL:
  <https://savannah.gnu.org/bugs/?61454>

                 Summary: [PATCH]?: nroff -V ...: show the (final, real) pipe
line
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Wed 10 Nov 2021 12:55:54 AM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: New feature
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Subject: [PATCH]?: nroff -V ...: show the (final, real) pipe line

  Test with "nroff -ms -e -t -p -V"

and

  "test-nroff -ms -e -t -p -V" (or GROFF_TEST_GROFF=... nroff ...)

  I can't compile "master branch" as it has old "gnulib" version (?)
(and possibly old "automake" and "autoconf" files).

Patch:

diff -dpru --unidirectional-new-file groff/src/roff/nroff/nroff.sh
new-groff/src/roff/nroff/nroff.sh
--- groff/src/roff/nroff/nroff.sh       2021-11-10 00:24:39.000000000 +0000
+++ new-groff/src/roff/nroff/nroff.sh   2021-11-10 00:28:48.000000000 +0000
@@ -189,7 +189,7 @@ groff=${GROFF_TEST_GROFF-groff}
 # zero.
 if [ -n "$dry_run" ]
 then
-  echo PATH="$GROFF_RUNTIME$PATH" $groff $T $opts ${1+"$@"}
+  eval $(echo PATH="$GROFF_RUNTIME$PATH" $groff $T -V $opts ${1+"$@"}; )
 else
   PATH="$GROFF_RUNTIME$PATH" $groff $T $opts ${1+"$@"}
 fi






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61454>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to