[Top][All Lists]

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

[bug #64061] pdfpic.tmac uses sed badly and non-portably

From: Dave
Subject: [bug #64061] pdfpic.tmac uses sed badly and non-portably
Date: Mon, 17 Apr 2023 13:25:19 -0400 (EDT)

Follow-up Comment #1, bug #64061 (project groff):

[comment #0 original submission:]
> 2.  It uses the sequence '\n' in the replacement part of a sed
> 's' command.  This is non-standard and undefined on some seds.

I raised this as a side note in [http://savannah.gnu.org/bugs/?58206#comment11
comment 11 of bug 58206], but once that bug's primary issue was addressed, I
didn't follow up on this point.  So I apologize for dropping the ball there.

Some of the email threads linked elsewhere in that bug report point out the
redundancy of the grep command, and offer other ways to skin that cat, such as
an awk equivalent of the sed (which may or may not be more portable).


Reply to this item at:


Message sent via Savannah

reply via email to

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