[Bug 281340] ex editor global command malfunctions when adding lines to matched lines that are consecutive
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281340] ex editor global command malfunctions when adding lines to matched lines that are consecutive"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281340] ex editor global command malfunctions when adding lines to matched lines that are consecutive"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 281340] ex editor global command malfunctions when adding lines to matched lines that are consecutive"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 07 Sep 2024 13:36:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281340
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
--
You are receiving this mail because:
You are the assignee for the bug.