[Bug 284434] ed(1) special replacement with "%" doesn't quite match with man-page

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 30 Jan 2025 16:01:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284434

--- Comment #2 from Tim Chase <freebsd@tim.thechases.com> ---
Created attachment 257130
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=257130&action=edit
possible solution (2/2)

Here's a more efficient (doesn't look up the next character twice) version of a
patch that fixes it by checking if the command ends with a delimiter **or** a
NUL

Either patch should suffice, depending on which style feels better in-situ

-- 
You are receiving this mail because:
You are the assignee for the bug.