Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2024 16:02:51 GMT
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 6e1b857b89d4 - stable/13 - sh(1): add -l option
Message-ID:  <202412121602.4BCG2pjg052799@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=6e1b857b89d4e22fe711eef45e2e32e6b6606a0b

commit 6e1b857b89d4e22fe711eef45e2e32e6b6606a0b
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-11-20 10:48:39 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-12-12 16:02:48 +0000

    sh(1): add -l option
    
    -l is required by LSB for login shell, all other shells: bash, zsh,
    oksh, mksh, ... implements it.
    
    with -l sh will act as a login shell and read the profile.
    
    MFC After:      1 week
    Obtained From:  dash (3b7c8442bfe7c2fd0a6b0415df6ddf66a399fd55)
    Reviewed by:    kib, lme
    Differential Revision:  https://reviews.freebsd.org/D47681
    
    (cherry picked from commit 65f5dd42f11cdcb7716e6cdd09fac2314c144c1f)
---
 bin/sh/sh.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index 59334d2042a6..c990a4adb3c0 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -29,7 +29,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\"	from: @(#)sh.1	8.6 (Berkeley) 5/4/95
+.\"    from: @(#)sh.1  8.6 (Berkeley) 5/4/95
 .\"
 .Dd November 20, 2024
 .Dt SH 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412121602.4BCG2pjg052799>