From 23964f89c61952b59b744965f07ef163e9cffb93 Mon Sep 17 00:00:00 2001 From: Johnothan King Date: Sat, 10 Apr 2021 06:17:12 -0700 Subject: [PATCH] sh.1: Backport login shell addition from ksh93v- (#266) This small addition to the man page adds a description for the -l (login shell) option. It was mentioned on the old mailing list: https://www.mail-archive.com/ast-users@lists.research.att.com/msg00299.html --- src/cmd/ksh93/sh.1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cmd/ksh93/sh.1 b/src/cmd/ksh93/sh.1 index 9e5ced6d2..aa4a7f6ae 100644 --- a/src/cmd/ksh93/sh.1 +++ b/src/cmd/ksh93/sh.1 @@ -8311,6 +8311,11 @@ shell, commands are read from and then from .BR \s-1$HOME\s+1/.profile if it exists. +Alternatively, the option +.B \-l +causes the shell to be treated as a +.I login +shell. Next, for interactive shells, commands are read from the file named by .SM