From nobody Sat Sep 7 13:36:50 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X1DfC0n7Rz5VMC9 for ; Sat, 07 Sep 2024 13:36:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X1DfB6bFRz41FK for ; Sat, 7 Sep 2024 13:36:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725716210; a=rsa-sha256; cv=none; b=ytv0oj9GBW+M9e8QhL63zdNE+9fsburXo0nQQLFFFicc8TgWg0Jr+OBOyG7IU8oilx7MUD 5xmI0aiJrWC5HMO7r/CQqLVwLSxWSy2oU8FWEDvHQFHrlaTZZENZqusHzYbbq0wkRliiFf iQGvvoQHjuhkxG9si2pFBfF61p4Vb0KQacqSJxaQ2m7zoL18anUlaV8zL0kcnOKIRxwF5P aXGHoFl+9tTz5IiHtM93HRQbgEfxCUvjJ30ZjDnlQovA5kKejoH8bh+E82x+SE9Q8weFYI Oi1anK9UbGdLsUwmVX0lOwJme3p9o8s8Qc+NLJ/0RozDvu2BEfEeTYip+AGBAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725716210; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L6MGThqIaMMp/faywIpzoXP+P2phlisQHsd3N70+sKI=; b=iaJIo7FOlbna9hiaEs85wmRC+V5/yvL3WCtEDSwy0kgp5F8oePjHyZvgIbZC+1Cp+PXnzu kotXZnn+1LQlhu/mtqSDkA8herMqFXwzEMBOrjVONDsN1XNSFEWKj2HhGufl9rnAVkd6+2 NR55L3lxkjxBEK5DcsWIPEWkjarXUPMvO2aK2XvC/h6NCua/DwYircWUbPtvf5XQo2s6fH M6NliTsLSzfdlzm0wMcFwauChn9dDYbBLssGInJE74QffWu6dTQZCylADk+kO2SR7OMq1J SEvIaj7JohJwhoaTZpNAksZRrJZg5KOHqkV6MBQliCxjh2Nkn5quVoBtFqnHmg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X1DfB64j2zdbW for ; Sat, 7 Sep 2024 13:36:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 487DaowN085052 for ; Sat, 7 Sep 2024 13:36:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 487Dao3p085051 for bugs@FreeBSD.org; Sat, 7 Sep 2024 13:36:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Sat, 07 Sep 2024 13:36:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: gnu X-Bugzilla-Version: 14.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: llaquet@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 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.=