bug-groff
[Top][All Lists]
Advanced

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

[bug #61324] tmac/pdfpic.tmac: make shell pipeline called via .sy more r


From: Dave
Subject: [bug #61324] tmac/pdfpic.tmac: make shell pipeline called via .sy more robust
Date: Sat, 9 Oct 2021 19:24:47 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0

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

                 Summary: tmac/pdfpic.tmac: make shell pipeline called via .sy
more robust
                 Project: GNU troff
            Submitted by: barx
            Submitted on: Sat 09 Oct 2021 06:24:45 PM CDT
                Category: Macro - others
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

As discussed on the email list
(http://lists.gnu.org/archive/html/groff/2021-09/msg00046.html),
tmac/pdfpic.tmac
<http://git.savannah.gnu.org/cgit/groff.git/tree/tmac/pdfpic.tmac> contains an
external (.sy) call to a shell pipeline that includes a grep command which
fails in cases where it falsely detects its input stream to be binary. 
Further down the thread, a sed and an awk command are both proposed as more
robust replacements for the grep.

Addressing bug #55107 will obviate the need for this shell pipeline at all. 
This is the preferred fix for this problem.  But it's a more substantial
change, and the fix proposed in the aforementioned email thread is simple and
low-risk, so it's something that could be done until 55107 is addressed.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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