]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
more: update shell selection documentation
authorKarel Zak <kzak@redhat.com>
Thu, 16 Apr 2026 12:24:53 +0000 (14:24 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 16 Apr 2026 12:29:28 +0000 (14:29 +0200)
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 <kzak@redhat.com>
text-utils/more.1.adoc

index f023bb2dc4e63c8b3ce6928cc198e5cbde089fc5..2f5fe8d1049f6ed5e38266c6cd8e94de7f0d409e 100644 (file)
@@ -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.