Page MenuHomeFreeBSD

sh(1): add -l option
ClosedPublic

Authored by bapt on Nov 20 2024, 10:52 AM.
Tags
None
Referenced Files
F170610212: D47681.id146739.diff
Sat, Sep 5, 3:26 PM
F170610201: D47681.id146740.diff
Sat, Sep 5, 3:26 PM
F170601402: D47681.id146739.diff
Sat, Sep 5, 2:30 PM
F170589790: D47681.id146740.diff
Sat, Sep 5, 1:18 PM
F170515838: D47681.id146741.diff
Sat, Sep 5, 4:51 AM
F170511684: D47681.id.diff
Sat, Sep 5, 4:20 AM
Unknown Object (File)
Fri, Sep 4, 10:16 PM
Unknown Object (File)
Fri, Sep 4, 9:57 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 60698
Build 57582: arc lint + arc unit

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.