Page MenuHomeFreeBSD

sh(1): add -l option
ClosedPublic

Authored by bapt on Nov 20 2024, 10:52 AM.
Tags
None
Referenced Files
F112437142: D47681.id146740.diff
Mon, Mar 17, 10:10 PM
Unknown Object (File)
Sun, Mar 2, 8:56 AM
Unknown Object (File)
Tue, Feb 25, 10:50 AM
Unknown Object (File)
Sat, Feb 22, 2:15 PM
Unknown Object (File)
Sat, Feb 22, 1:56 PM
Unknown Object (File)
Sat, Feb 22, 1:54 PM
Unknown Object (File)
Sat, Feb 22, 1:40 PM
Unknown Object (File)
Feb 14 2025, 3: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 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.