Page MenuHomeFreeBSD

sh(1): add -l option
ClosedPublic

Authored by bapt on Nov 20 2024, 10:52 AM.
Tags
None
Referenced Files
F170142709: D47681.id146739.diff
Thu, Sep 3, 3:31 PM
F170120776: D47681.id.diff
Thu, Sep 3, 2:03 PM
F170000722: D47681.diff
Thu, Sep 3, 5:36 AM
Unknown Object (File)
Wed, Sep 2, 8:07 PM
Unknown Object (File)
Wed, Sep 2, 5:09 PM
Unknown Object (File)
Wed, Sep 2, 4:26 PM
Unknown Object (File)
Wed, Sep 2, 4:21 PM
Unknown Object (File)
Wed, Sep 2, 9:55 AM
Subscribers

Details

Summary

-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.

Obtained From: dash (3b7c8442bfe7c2fd0a6b0415df6ddf66a399fd55)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bapt requested review of this revision.Nov 20 2024, 10:52 AM

add missing manpage change

This revision is now accepted and ready to land.Nov 20 2024, 12:31 PM
kib added inline comments.
bin/sh/options.c
86
This revision was automatically updated to reflect the committed changes.