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: b...@freebsd.org Reporter: llaq...@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.