From: Karel Zak Date: Thu, 16 Apr 2026 12:24:53 +0000 (+0200) Subject: more: update shell selection documentation X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=8ea0d6b5673f7d0553b9f405ab984f4e6f4a660a;p=thirdparty%2Futil-linux.git more: update shell selection documentation Document that when $SHELL is not set, the shell from the user's passwd(5) entry is used before falling back to /bin/sh. Addresses: https://github.com/util-linux/util-linux/issues/4242 Signed-off-by: Karel Zak --- diff --git a/text-utils/more.1.adoc b/text-utils/more.1.adoc index f023bb2dc..2f5fe8d10 100644 --- a/text-utils/more.1.adoc +++ b/text-utils/more.1.adoc @@ -194,7 +194,7 @@ Equivalent to MORESECURE. Disable exit-on-eof (see option *-e* for more details). *SHELL*:: -Override the default shell. +Override the default shell. If *SHELL* is not set, the shell from the user's passwd(5) entry is used. If no shell is defined there either, _/bin/sh_ is used as the fallback. *TERM*:: Specify the terminal type used by *more* to get the terminal characteristics necessary to manipulate the screen.