I like that more behaves like cat when there’s less than a page of output rather than requiring you to press
q
to get back to the prompt even when it would just fit.There’s probably a way to make less do that too, but more already does it without configuration. Overall I use less most of the time but I like having the option.
I’m not sure if I’ve used more in the last 25 years. And when I did I think it was in MS-DOS.
Less is more!
less or bat, but I usually use by paging up and down so it’s not that different from more… My terminal emulator only pages up and down, I like it that way.
Neither, bat or neovim.
Could you be more cryptic?
RTFM.
Those are two pager programs on Linux. less has more features than more and that’s what most people use.
What’s a pager program?
Allows you to scroll through / view a text file in the terminal.
Yes, back in days of yore when the cyberbunnies had to run their lines through the bare wastes of the great Dave’s router, there existed a tool so coveted by the eunuchs that they named it twice, and would beg for degrees of release depending on how gimped up they were. “More” some would scream, “less” others would whisper.
I use a teletype. My scrollback is INFINITE.
your buffer size must exceed several floppies!
I use more because I learned more first. Now it’s in muscle memory, so I won’t change anytime soon.
LESSOPEN='| highlight --line-numbers -qs candy --out-format=xterm256 --stdout -i %s'
is that an alias or a sys env?
Sys env. It adds syntax highlighting to less. Needs the
highlight
tool of course, there are others.oh, it literally pipes into another tool! I thought that vertical bar was a config option for less lmao
Yeah, less is weird there with needing the pipe.
“less”. If its a small file i use cat. If i want the top I use “head” or "tail’ for the bottom. For a specific string i use “grep”
I feel like more punctuation was called for here. /s
Been using Less for so long…
Forgot More existed. 🤷♂️
alias more=less
Godless heathen here.
At least I use
bash
!Yes?
Most!
I thought Less is More?
But because it comes first that is what I usually use.
I use less always, and am genuinely puzzled by people who use more
Old habits die hard? I used to administer old SunOS machines that didn’t have less (and would take considerable effort to install on all of the machines) so these days I just alias more to less
Depends…