From nobody Wed Aug 5 18:32:39 2026 X-Original-To: dev-commits-src-all@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 4hFfCq5PkGz6mxSW for ; Wed, 05 Aug 2026 18:32:39 +0000 (UTC) (envelope-from git@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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hFfCq4m50z3k6r for ; Wed, 05 Aug 2026 18:32:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785954759; 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=WBnLm5TWDKHvm0GUAFNog8agHrez0K+l+Vly3fBbmSQ=; b=QSe+LSXVmMowREztJ4PgysEY//dExEB/aY5OIMHazRiRNFJeulLZPbdzQNQZGkr5LSNSi+ BkNQmVZQhgC/8iny4kTBKnzcXS0p3+JsA0R5dKWYaek4qq6TmfMGZcJROFHY8gx7SIQZHZ BCF+aNrlMbVIgH0oSEGMl/to7MkskzLk0yQDGA+SspegBRU8XnDLLBKmtbMTr9flQVZuh+ LkhxK/WwmtU7x3i47wdQ3drAWn8KeYEWf4efshscnlSA9+0Yy/n8dyVkjpY3eRUmjbjH7P m+lsaqRfsn9PJdRYefBdazngDAH3MDgz5gPgtWgHm9RBYa6viSdorfXAG3C1NQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785954759; a=rsa-sha256; cv=none; b=sItEYwTbyLXzHctRWk0KwSWLkAuj2EhLHZItpyg2VMSPVmtZBSVzkuOK9gUSISS7SZcpUH WnUTo3u3HBEAWB2NbpIO75O5M6ACyifsPdnmYOVCItppQHV7AhA1dTETy3Vk59KzA4yFBw FCYuOG9q9BStmnP/2SlfGSCYYTlC93kiWgwIcg94Gr2+WGL3eMn64GGtUdpr0GC4wCOYuB R6y45dI6zdEeK8kWJEliESgcOoWk6CU+tuL6jrKPMJl08QjPTFMa19sF4PKL/OfCAXFhkg ZLxS6C5OuCudB/UPuKx5a022Dh9FZhUbigVY2wXv06nBIXypkFIv89hWJCNEZQ== 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=1785954759; 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=WBnLm5TWDKHvm0GUAFNog8agHrez0K+l+Vly3fBbmSQ=; b=yu0ZNGqWo3Ym8CqZiTi3l/guGR0G7rGr6BiiuuLaThFONYDS83U7zAi4sUTyMEPPP5K2Jj gotvtjOauxlHyiAAUD/kCcWT+ebKWvpJpecoGCi8QxKU9EASWR9VONSkNiMzZXkRlTiylQ GNpg0dlfPrPRL5nIYvIqZdUpS3Uw/smL6vZVgTIVrx5XQ5LNFVESHO3xyl0gqp6sxq8H55 CpcKZGSHtFJpcBotFDYqDnFE5S2AH5/3gsfTh6rlU5cuH716g47ipagNy8Ze2POgxNOfYs Vy1cQZg5+1Tiu18FzOTUdbQ4LEL0SFR0LQl1f0mX/06/O++11Q+xW6TM1/DItA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hFfCq3dk2zmPc for ; Wed, 05 Aug 2026 18:32:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 33c12 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 05 Aug 2026 18:32:39 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Ziaee Subject: git: 9ade902dfef2 - stable/14 - sed.1: Adjust examples to fit in one line + SPDX List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 9ade902dfef25337c6832eac48ba08a37e5d3f54 Auto-Submitted: auto-generated Date: Wed, 05 Aug 2026 18:32:39 +0000 Message-Id: <6a7381c7.33c12.1738cd2f@gitrepo.freebsd.org> The branch stable/14 has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=9ade902dfef25337c6832eac48ba08a37e5d3f54 commit 9ade902dfef25337c6832eac48ba08a37e5d3f54 Author: Alexander Ziaee AuthorDate: 2025-06-15 02:51:05 +0000 Commit: Alexander Ziaee CommitDate: 2026-08-05 16:06:23 +0000 sed.1: Adjust examples to fit in one line + SPDX Examples were previously overflowing at MANWIDTH 80. Keep the same complexity but use shorter phrases to make them easier to read. Tag SPDX while here. MFC after: 3 days Reviewed by: bcr Discussed with: emaste Differential Revision: https://reviews.freebsd.org/D50867 (cherry picked from commit 3cb2a7e01e13c866d7c4bb55da8f229233c0cd7c) --- usr.bin/sed/sed.1 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/usr.bin/sed/sed.1 b/usr.bin/sed/sed.1 index 90b23e2834de..8d54804b826d 100644 --- a/usr.bin/sed/sed.1 +++ b/usr.bin/sed/sed.1 @@ -1,3 +1,6 @@ +.\" +.\" SPDX-License-Identifier: BSD-3-Clause +.\" .\" Copyright (c) 1992, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -30,7 +33,7 @@ .\" .\" @(#)sed.1 8.2 (Berkeley) 12/30/93 .\" -.Dd December 17, 2024 +.Dd June 14, 2025 .Dt SED 1 .Os .Sh NAME @@ -599,17 +602,17 @@ with .Ql baz when piped from another command: .Bd -literal -offset indent -echo "An alternate word, like bar, is sometimes used in examples." | sed 's/bar/baz/' +echo "use bar in examples" | sed 's/bar/baz/' .Ed .Pp Using backlashes can sometimes be hard to read and follow: .Bd -literal -offset indent -echo "/home/example" | sed 's/\\/home\\/example/\\/usr\\/local\\/example/' +echo "/bin/bash" | sed 's/\\/bin\\/bash/\\/bin\\/sh/' .Ed .Pp Using a different separator can be handy when working with paths: .Bd -literal -offset indent -echo "/home/example" | sed 's#/home/example#/usr/local/example#' +echo "/bin/bash" | sed 's#/bin/bash#/bin/sh#' .Ed .Pp Replace all occurrences of