From nobody Tue Apr 14 13:03:34 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 4fw4GN4fjwz6YXf6 for ; Tue, 14 Apr 2026 13:03:40 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fw4GN2plQz3ssV for ; Tue, 14 Apr 2026 13:03:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776171820; 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=TjG43nUmVhQP8ZAz+MiN9Dk2j10Hz4N7GJ64RfJ/Hnc=; b=HuTMUy11X4zLDJuCXNxSIKq8x7OmVoHb4a0AXIoXLax83mbC7ijR2AwKV1TahF8Z2NDtn8 Vm5rVpW4m4VwfDn05b4rEGBY/qvN7/YDr2aImkjzFGETJS2qnjFWW4tVsVH4ebtOSTE0PS YxfWUPM4bM7zcbnNNfYK5mhXKunL7tkVSqwzQEA0TdXKi+T3f/mtLj2jdmXYad9BWVQrcz SNhKwAYwyPuUCV7xdJ7RvHgpadslhdXfP9C2Sox/U3cnFkuwXj8z2LXNOcWvbJcVxa2QuE HCo0oPJYiFeLtoz8m85ImOMw1MmyYFQPhDbRbT2rVF4V22ozPuuIqMTKyEo1Hw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1776171820; a=rsa-sha256; cv=none; b=XbIK34QJdZSC6m1+vR7z6WT1FY8plvNVvGQZu8kgovYn3G6SSg8Nk/7HoFqFkc05vnhJqY U/OQiaGI4g2JU+RoJzzQm8ZGiE/Y93Ak3vDaB/T/7mbKrmldoIq/G3eeR4+i7gIxiIdGP2 bLV33hrPqkB7eIOVBdmHnvYjPabC5ezAjGNzsdm9zB9EvJIUfqwCbzX+4+imws1YHBAPJH lQ1lVf6/O/QWpqC7nPo+Ugxpr5JyCknq0Tw+gtjJXDZt1tWnKy62xALPJ3GGOcZYen+wdk 0BUKsPfKTnIFyqw10GnlD5LRAoP9CWgHg0Udlk5gqhA1HYaMepAmHl6LL+t2jw== 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=1776171820; 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=TjG43nUmVhQP8ZAz+MiN9Dk2j10Hz4N7GJ64RfJ/Hnc=; b=yj89b8FiWgbGw0h98LHA8/sFbejcB3yaLdCnvx1eB7AXWKUMyOe7lU1UzNLdGPkMnqjgf7 n3EsWUOm8mziKLvJYoNLctHJxxV2ViaEBD3NhBTa9H6wxeqJjQNikEYgraJrY0vvedDNUT oNitMKITiffDU/XMVUgaJsf0/COacCte2aQwPcEglV2wp/OtYGKZcud86Tep3lWIs+0FyN 6FWwR90oTxdZVdn151Rrvu4DZBo99K+CFaFGzr9vv2TrhIHAt4UiDCtWo8wh+y7AtbHNoP uuOrDqANT1ASpNe1hR6uJp5cBBf91pJLWP7zeLcCKfWJQmxX2X/95E1PK12adg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fw4GN1lGPzs0D for ; Tue, 14 Apr 2026 13:03:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3faa6 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 14 Apr 2026 13:03:34 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Ziaee Subject: git: dc140a9fc151 - main - Bourne shell -> POSIX shell 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 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/main X-Git-Reftype: branch X-Git-Commit: dc140a9fc151f3717bce2157f49070daafa13ec0 Auto-Submitted: auto-generated Date: Tue, 14 Apr 2026 13:03:34 +0000 Message-Id: <69de3b26.3faa6.416026cd@gitrepo.freebsd.org> The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=dc140a9fc151f3717bce2157f49070daafa13ec0 commit dc140a9fc151f3717bce2157f49070daafa13ec0 Author: Alexander Ziaee AuthorDate: 2026-04-14 13:02:53 +0000 Commit: Alexander Ziaee CommitDate: 2026-04-14 13:02:58 +0000 Bourne shell -> POSIX shell The FreeBSD shell is a POSIX compatible shell. It evolved over several decades from the Almquist shell, which was preceeded a decade before that by the Bourne shell. Most readers today have never seen a Bourne shell. If someone wants to learn to use our shell, they need to look for tutorials on the POSIX shell. Align descriptions through out the tree with this reality, consistent with it's manual and common parlance. We made a similar change to the doc tree in b4d6eb01540fe. MFC after: 3 days Reviewed by: carlavilla Differential Revision: https://reviews.freebsd.org/D56382 --- share/skel/dot.profile | 2 +- usr.bin/apply/apply.1 | 2 +- usr.bin/chpass/chpass.1 | 2 +- usr.bin/fortune/datfiles/freebsd-tips | 4 ++-- usr.bin/script/script.1 | 4 ++-- usr.sbin/adduser/adduser.8 | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/share/skel/dot.profile b/share/skel/dot.profile index 40dfa58f4e84..d67a6e2a934b 100644 --- a/share/skel/dot.profile +++ b/share/skel/dot.profile @@ -1,5 +1,5 @@ # -# .profile - Bourne Shell startup script for login shells +# .profile - POSIX Shell startup script for login shells # # see also sh(1), environ(7). # diff --git a/usr.bin/apply/apply.1 b/usr.bin/apply/apply.1 index f1c114d40814..1e0115364e81 100644 --- a/usr.bin/apply/apply.1 +++ b/usr.bin/apply/apply.1 @@ -96,7 +96,7 @@ The following environment variable affects the execution of .Bl -tag -width SHELL .It Ev SHELL Pathname of shell to use. -If this variable is not defined, the Bourne shell is used. +If this variable is not defined, the POSIX shell is used. .El .Sh FILES .Bl -tag -width /bin/sh -compact diff --git a/usr.bin/chpass/chpass.1 b/usr.bin/chpass/chpass.1 index 0891f3f28c92..0321d748a1a4 100644 --- a/usr.bin/chpass/chpass.1 +++ b/usr.bin/chpass/chpass.1 @@ -227,7 +227,7 @@ The field is the command interpreter the user prefers. If the .Ar shell -field is empty, the Bourne shell, +field is empty, the POSIX shell, .Pa /bin/sh , is assumed. When altering a login shell, and not the super-user, the user diff --git a/usr.bin/fortune/datfiles/freebsd-tips b/usr.bin/fortune/datfiles/freebsd-tips index 379f772fea88..47fd3c755626 100644 --- a/usr.bin/fortune/datfiles/freebsd-tips +++ b/usr.bin/fortune/datfiles/freebsd-tips @@ -180,7 +180,7 @@ directory sizes. nc(1) (or netcat) is useful not only for redirecting input/output to TCP or UDP connections, but also for proxying them with inetd(8). % -sh (the default Bourne shell in FreeBSD) supports command-line editing. Just +sh (the default POSIX shell in FreeBSD) supports command-line editing. Just ``set -o emacs'' or ``set -o vi'' to enable it. Use "" key to complete paths. % @@ -415,7 +415,7 @@ if you leave the shell idle for more than 30 minutes. % You can use aliases to decrease the amount of typing you need to do to get commands you commonly use. Examples of fairly popular aliases include (in -Bourne shell style, as in /bin/sh, bash, ksh, and zsh): +POSIX shell style, as in /bin/sh, bash, ksh, and zsh): alias lf="ls -FA" alias ll="ls -lA" diff --git a/usr.bin/script/script.1 b/usr.bin/script/script.1 index 5f40e5af28ff..ef8eaa35174f 100644 --- a/usr.bin/script/script.1 +++ b/usr.bin/script/script.1 @@ -139,7 +139,7 @@ Forward terminal size changes on The script ends when the forked shell (or command) exits (a .Em control-D to exit -the Bourne shell +the POSIX shell .Pf ( Xr sh 1 ) , and .Em exit , @@ -184,7 +184,7 @@ exists, the shell forked by will be that shell. If .Ev SHELL -is not set, the Bourne shell +is not set, the POSIX shell is assumed. .Pq Most shells set this variable automatically . .El diff --git a/usr.sbin/adduser/adduser.8 b/usr.sbin/adduser/adduser.8 index e21a7653f250..eacc12a8f3ce 100644 --- a/usr.sbin/adduser/adduser.8 +++ b/usr.sbin/adduser/adduser.8 @@ -459,7 +459,7 @@ command appeared in .An -nosplit This manual page and the original script, in Perl, was written by .An Wolfram Schneider Aq Mt wosch@FreeBSD.org . -The replacement script, written as a Bourne +The replacement script, written as a POSIX shell script with some enhancements, and the man page modification that came with it were done by .An Mike Makonnen Aq Mt mtm@identd.net .