Also, sometimes they have an old version of less. There was a change in the past, I don’t know, five or so years that made the “exit if less than one page” flag behave better. I don’t remember the specifics but it made using it as a fit pager way better. It used to be that it was difficult to have it act like cat when the output was less than a page. But newer versions support it.
less
, I don’t remember what distro it was, but there wasn’tless
. There wasmore
though.Sometimes, more is less.
There’s a LESS_IS_MORE env var for
less
which makes it behave likemore
. Or something like that. Check the manpageThere is a variable in less source code which keep status if less should behave like more
But when will “then” be “now”?
Tuesday.
SOON
Also, sometimes they have an old version of less. There was a change in the past, I don’t know, five or so years that made the “exit if less than one page” flag behave better. I don’t remember the specifics but it made using it as a fit pager way better. It used to be that it was difficult to have it act like cat when the output was less than a page. But newer versions support it.
I think
more
was a DOS toolWhat distro was this?