gbranden pushed a commit to branch master
in repository groff.
commit 8660a778f74ecd1ba99f9928247debbaeeee6887
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Aug 28 19:31:19 2024 -0500
tmac/pdfpic.tmac: Simplify comment.
Deri made much of this commentary, if not irrelevant (escaping still
matters), less acutely painful. And we no longer use tr(1) and sed(1).
---
tmac/pdfpic.tmac | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/tmac/pdfpic.tmac b/tmac/pdfpic.tmac
index ca889a268..a847fde11 100644
--- a/tmac/pdfpic.tmac
+++ b/tmac/pdfpic.tmac
@@ -54,16 +54,10 @@
. rr pdfpic*desired-height
..
.
-.\" Get image dimensions. The `tr` command to strip null bytes is
-.\" distasteful, but its necessity is imposed on us. See
-.\" <https://gitlab.freedesktop.org/poppler/poppler/-/issues/776>.
+.\" Get image dimensions.
.\"
.\" The following is a circus of portability and escaping constraints.
-.\" See <https://savannah.gnu.org/bugs/index.php?64061>. Modify it
-.\" only with great caution and after testing with a variety of seds.
-.\" (See the "HACKING" file in groff's source distribution.) Keep in
-.\" mind that the argument(s) to `sy` are assembled into a C string
-.\" and then passed to system(3), which invokes "sh -c" on the string.
+.\" See <https://savannah.gnu.org/bugs/index.php?64061>.
.\"
.\" We therefore shut off roff's escape mechanism _twice_: once while
.\" defining the macro, and once while interpreting part of it, to
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit