Less vs More, what's your poison?

46 points · 49 comments · view on lemmy.world

49 Comments

NichtElias@sh.itjust.works · 83 pts · 1y (2 replies)

It's said that less is more but I more or less use less more than more.

lordnikon@lemmy.world · 24 pts · 1y

I both understood that sentence perfectly and sounded like a crazy person while reading it out loud.

brisk@aussie.zone · 2 pts · 1y

This would fit in perfectly in Dr Suess' Hop on pop

lupusblackfur@lemmy.world · 30 pts · 1y

Been using Less for so long...

Forgot More existed. 🤷‍♂️

catloaf@lemm.ee · 25 pts · 1y

I don't know why anyone would use more when less is more with more features.

SpicySquid@lemmy.ml · 24 pts · 1y (6 replies)

Less, but actually bat

tetris11@lemmy.ml · 2 pts · 1y (5 replies)

I use bat sometimes, but how do you stop it from wrapping lines?

msherburn33@lemmy.ml · 16 pts · 1y (4 replies)

I use bat sometimes, but how do you stop it from wrapping lines?

$ cat ~/.config/bat/config
--wrap=never
timroerstroem@feddit.dk · 13 pts · 1y

$ cat ~/.config/bat/config

The irony.

tetris11@lemmy.ml · 4 pts · 1y

I ain't got no time for no config! I'm a busy man!

jerkface@lemmy.ca · 3 pts · 1y (1 reply)

You dropped your friggin' > in another thread and I just stepped on it. Pain like Lego.

Hule@lemmy.world · 1 pts · 1y

Souldn't there be two of those to append?

Ow! ^

Balthazar@lemmy.world · 22 pts · 1y (3 replies)
alias more=less
Eyedust@lemmy.dbzer0.com · 9 pts · 1y (2 replies)

Godless heathen here.

Balthazar@lemmy.world · 4 pts · 1y

At least I use bash!

MonkderVierte@lemmy.ml · 3 pts · 1y

Yes?

JoeKrogan@lemmy.world · 15 pts · 1y (1 reply)

"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"

tomcatt360@lemmy.zip · 3 pts · 1y

I feel like more punctuation was called for here. /s

deadcatbounce@reddthat.com · 12 pts · 1y

bat.

hallettj@leminal.space · 11 pts · 1y

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.

isVeryLoud@lemmy.ca · 8 pts · 1y

Less is more!

MonkderVierte@lemmy.ml · 7 pts · 1y (4 replies)

LESSOPEN='| highlight --line-numbers -qs candy --out-format=xterm256 --stdout -i %s'

tetris11@lemmy.ml · 1 pts · 1y (3 replies)

is that an alias or a sys env?

MonkderVierte@lemmy.ml · 2 pts · 1y (2 replies)

Sys env. It adds syntax highlighting to less. Needs the highlight tool of course, there are others.

tetris11@lemmy.ml · 2 pts · 1y (1 reply)

oh, it literally pipes into another tool! I thought that vertical bar was a config option for less lmao

MonkderVierte@lemmy.ml · 2 pts · 1y

Yeah, less is weird there with needing the pipe.

CsXGF8uzUAOh6fqV@lemmy.world · 7 pts · 1y

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.

jerkface@lemmy.ca · 6 pts · 1y (1 reply)

I use a teletype. My scrollback is INFINITE.

tetris11@lemmy.ml · 6 pts · 1y

your buffer size must exceed several floppies!

mvirts@lemmy.world · 6 pts · 1y

Less, then "vim -" after I realize I don't know how to use less.

nao@sh.itjust.works · 5 pts · 1y

more only if less is not available

thebardingreen@lemmy.starlightkel.xyz · 5 pts · 1y

tail -f of vim

zagaberoo@beehaw.org · 4 pts · 1y

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.

jeena@piefed.jeena.net · 3 pts · 1y (2 replies)

I thought Less is More?

But because it comes first that is what I usually use.

tetris11@lemmy.ml · 3 pts · 1y (1 reply)

I use less always, and am genuinely puzzled by people who use more

petey@aussie.zone · 10 pts · 1y

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

simonced@lemmy.ml · 3 pts · 1y

I use more because I learned more first. Now it's in muscle memory, so I won't change anytime soon.

ferric_carcinization@lemmy.ml · 3 pts · 1y

Neither, bat or neovim.

zaphodb2002@sh.itjust.works · 3 pts · 1y

Most!

PoisonedPrisonPanda@discuss.tchncs.de · 2 pts · 1y

Isn't more like the main driver for our prospering civilization?

Some might say that the shift in desiring less is the downward path for the over-saturated humanity.

But lets not get too deep here.

slazer2au@lemmy.world · 2 pts · 1y

More

ABetterTomorrow@lemm.ee · 2 pts · 1y

Depends…

AndyRTR@lemmy.ml · 2 pts · 1y

alias less='moar'

Ulrich@feddit.org · -3 pts · 1y (5 replies)

Could you be more cryptic?

HeerlijkeDrop@thebrainbin.org · 8 pts · 1y (2 replies)

Those are two pager programs on Linux. less has more features than more and that's what most people use.

Ulrich@feddit.org · 0 pts · 1y (1 reply)

What's a pager program?

Laser@feddit.org · 6 pts · 1y

Allows you to scroll through / view a text file in the terminal.

MonkderVierte@lemmy.ml · 3 pts · 1y

RTFM.

tetris11@lemmy.ml · 2 pts · 1y

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.