Date: Sat, 07 Sep 2024 13:36:50 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 281340] ex editor global command malfunctions when adding lines to matched lines that are consecutive Message-ID: <bug-281340-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281340 Bug ID: 281340 Summary: ex editor global command malfunctions when adding lines to matched lines that are consecutive Product: Base System Version: 14.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: gnu Assignee: bugs@FreeBSD.org Reporter: llaquet@protonmail.com Original buffer for all the commands: lin1 lin2 lin3 lin4 Command: g/[1|3]/ co . Resulting buffer (correct): lin1 lin1 lin2 lin3 lin3 lin4 Command: g/[2|4]/ co . Resulting buffer (correct): lin1 lin2 lin2 lin3 lin4 lin4 Command: g/[2|3]/ co . Resulting buffer (incorrect): lin1 lin2 lin2 lin3 lin4 lin4 Command: g/[3|4]/ co . Error message: Illegal address: only 5 lines in the file Resulting buffer (incorrect): lin1 lin2 lin3 lin3 lin4 Command: g/./ co . Error message: Illegal address: only 6 lines in the file Resulting buffer (incorrect): lin1 lin1 lin2 lin3 lin3 lin4 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281340-227>