[Bug 270048] nvi(1) errors when g//{cmd} modifies the number of lines
Date: Sat, 13 Dec 2025 19:39:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270048
--- Comment #2 from Tim Chase <freebsd@tim.thechases.com> ---
I just hit this one again today, as noted in the tail of my previous comment
(and thus modifying the Subject to remove the `!` external-command nature). In
this case it was purely internal, copying a blank line (line #2) after a
certain pattern:
:g/pattern/2t.
caused the same "Illegal address: only [N] lines in the file."
--
You are receiving this mail because:
You are the assignee for the bug.