Hi all, Am 16.10.2024 um 16:45 schrieb Chris Green:
On Wed, Oct 16, 2024 at 10:26:33AM -0400, Dan Ritter wrote:Chris Green wrote:Hasn't the whole linus/unix world moved to using less instead or more?If it continues to build and work, there's no reason to discard it. Some people have habits ingrained over 40 years, more or less.Yes, but on many systems (most?), when you type 'more' you actually get 'less'. You'd have to go out of your way to get the real more. :-)
Actually...
(on a Debian 11 system which started out as Debian 10, no particular settings or choices.)$ man more | head -n 11 MORE(1) User Commands MORE(1) NAME more - file perusal filter for crt viewing SYNOPSIS more [options] file... DESCRIPTION more is a filter for paging through text one screenful at a time. This version is especially prim‐ itive. Users should realize that less(1) provides more(1) emulation plus extensive enhancements.
So, at least on what I consider a typical Debian system, I still find more. less is also available, but those decades of habits...
Anyway, regarding all other considerations -- more is part of the POSIX specs, less is not, and that is a good reason to have it available and use it. Eventually, you may end up sitting at a csh session in a dumb terminal and having to work with whatever some stale Solaris installation offers...
Cheers, Arno -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück