I can't get
less --quit-if-one-screen (
-F) working without
less --quit-if-one-screen /proc/uptime
I see no output.
less --quit-if-one-screen --no-init /proc/uptime
What I am doing wrong?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
This is bug/feature request number 303: http://www.greenwoodsoftware.com/less/bugs.html
When -F is used, don't output terminal initialization and exit sequences when only one screen is displayed.
Sorry, this is just an explanation, not a solution. I guess the maintainer would accept a patch which solves this.