From nobody Thu Jan 30 16:00:34 2025 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 4YkNz74rFDz5lbtN for ; Thu, 30 Jan 2025 16:00:35 +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 4YkNz65NfPz3ZXr for ; Thu, 30 Jan 2025 16:00:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738252834; 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: in-reply-to:in-reply-to:references:references; bh=54VGbsXzy5x1liQ19GMKfplBt9zmP3FRteMmue1eR0U=; b=koWVjA+YpMYntl7B+Cet/9cWjKXtcSRXKtvKNUV1/f0r1X8cGFbqjWyqbwdPOLGQAAs/IB xU3e/Y5F0pALPfR6Uy157Bd4dAg5CMRvqnnMV4sciH8whO5RQzu3qk7piyeeRypnkhCTb8 mv0fHd/OSiawxpeg+pCCD0+p87WbNH62gcWUbcHITSIYAvGpBufQG/jUQZCVDiAmaB1iEb EJfZucWiGgioL3WqhZhjW54ahS2MW8JdkgY2ggCVdV24Mbbfb4Gd4IJg2wBya/S7XgO6BK QZwY2+GdvAiYuMpH9uoNzL7VNYw9qiyg+Hwe/IFgfEsrRIkl7y/BpilC6ZPUpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738252834; 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: in-reply-to:in-reply-to:references:references; bh=54VGbsXzy5x1liQ19GMKfplBt9zmP3FRteMmue1eR0U=; b=ofHwB/q4uz1KAAEBVdBJPFfWFec0epeE8HOJyTjK6pfwgPpUCyaRDXq38Is1TPX1VW8UGj FyKL/HpwmeaDm3iqBLtJFiNmt1upR92wSsm69E+Qg/6revsTfCAhE9OemZLoG7Ef+zvmtM +OiAgcv/8VjBkcthDniywL025U4N/S3M2UvGN2JZx07ZNREGYtAP5amq+uOoOEO5F8Zsam stAFDG0n4TmcTAtKsP+RL+p41jUZotYv0WCXcfrWAW6/fCAZvPMdrIbl9vBqQd+vbVY3o6 7hsN3/BawsnLzeQK14SPSa6G5Cr2fdFBOoj6rTIOGhvVbH1/cvcBPNasWp+Mwg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738252834; a=rsa-sha256; cv=none; b=J5CfFPfxRE/FeCm8DUCSyHsPTg9R89JyIAR+AhPvKTQO3Ev31+BFsW69XzCgeUK8E6pavV hsyEz9H7JeXNaus6og/OAyxrkjM2I6SV+hdIZu4dxjh9lWIsTBslNvYbi01sPRaghfrQml zOSK/9rLluW63DCULsglJ+KJ6+h4AqAarCOk2hcgx+lp3jNUn0hzDFeXgguACZP3e5eBG7 XuEhXdIgLslEn+Ik/mAEFNFOMZmgVVATYkDODAAOS+EtByRfpxi66s9uKQbHK8zpD6ysc1 1INLWl+jgNovi1DJLnHq0/8hGhZHrkjfPjCng6ufh+G1rQiOiz0LlELJ38+8kw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YkNz647ZmztL9 for ; Thu, 30 Jan 2025 16:00:34 +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 50UG0Y1P052931 for ; Thu, 30 Jan 2025 16:00:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50UG0YmA052907 for bugs@FreeBSD.org; Thu, 30 Jan 2025 16:00:34 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 284434] ed(1) special replacement with "%" doesn't quite match with man-page Date: Thu, 30 Jan 2025 16:00:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@tim.thechases.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: attachments.created Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D284434 --- Comment #1 from Tim Chase --- Created attachment 257129 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D257129&action= =3Dedit possible solution (1/2) Here's an expanded (simpler to understand) version of a patch that fixes it= by checking if the command ends with a delimiter **or** a NUL --=20 You are receiving this mail because: You are the assignee for the bug.=