]> git.ipfire.org Git - thirdparty/util-linux.git/commit
more: restore exit-on-eof if POSIXLY_CORRECT is not set
authorKarel Zak <kzak@redhat.com>
Wed, 15 Jun 2022 08:03:44 +0000 (10:03 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 15 Jun 2022 08:03:44 +0000 (10:03 +0200)
commit28b391ce7e58f8327c092b3911c05f526d0ad586
treee29d507b35dd4a8a42f72c959dc50ea40491742e
parent140e4c7b83fb6a4229940c58da751008f68167c8
more: restore exit-on-eof if POSIXLY_CORRECT is not set

In version 2.38, exit-on-eof has been disabled by default. This change
is annoying for users and forces many users to use 'alias more="more
-e"'. It seems better to force POSIX lovers to use POSIXLY_CORRECT
env. variable and stay backwardly compatible by default.

Addresses: https://github.com/util-linux/util-linux/issues/1703
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=2088493
Signed-off-by: Karel Zak <kzak@redhat.com>
text-utils/more.1.adoc
text-utils/more.c