HomeFreeBSD

sh(1): add -l option

Description

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)

Details

Provenance
baptAuthored on Nov 20 2024, 10:48 AM
Reviewer
kib
Differential Revision
D47681: sh(1): add -l option
Parents
rG2ec8b6948070: zfs: merge openzfs/zfs@e269af1b3 (zfs-2.2-release) into stable/14
Branches
Unknown
Tags
Unknown