86thumbs
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
tetris11@lemmy.ml to Linux@lemmy.ml · 11 天前

Less vs More, what's your poison?

message-square
message-square
49
fedilink
54
message-square

Less vs More, what's your poison?

tetris11@lemmy.ml to Linux@lemmy.ml · 11 天前
message-square
49
fedilink
alert-triangle
You must log in or register to comment.
  • NichtElias@sh.itjust.works
    link
    fedilink
    arrow-up
    84
    ·
    11 天前

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

    • lordnikon@lemmy.world
      link
      fedilink
      English
      arrow-up
      24
      ·
      11 天前

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

    • brisk@aussie.zone
      link
      fedilink
      arrow-up
      2
      ·
      10 天前

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

  • LupusBlackfur@lemmy.world
    link
    fedilink
    arrow-up
    31
    arrow-down
    1
    ·
    11 天前

    Been using Less for so long…

    Forgot More existed. 🤷‍♂️

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    29
    ·
    11 天前

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

  • SpicySquid@lemmy.ml
    link
    fedilink
    arrow-up
    27
    ·
    11 天前

    Less, but actually bat

    • tetris11@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      11 天前

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

      • msherburn33@lemmy.ml
        link
        fedilink
        arrow-up
        17
        ·
        edit-2
        11 天前

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

        $ cat ~/.config/bat/config
        --wrap=never
        
        • timroerstroem@feddit.dk
          link
          fedilink
          arrow-up
          14
          arrow-down
          1
          ·
          11 天前

          $ cat ~/.config/bat/config

          The irony.

        • tetris11@lemmy.mlOP
          link
          fedilink
          arrow-up
          4
          ·
          11 天前

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

        • Jerkface (any/all)@lemmy.ca
          link
          fedilink
          English
          arrow-up
          3
          ·
          11 天前

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

          • Hule@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            9 天前

            Souldn’t there be two of those to append?

            Ow! ^

  • Balthazar@lemmy.world
    link
    fedilink
    arrow-up
    22
    ·
    11 天前
    alias more=less
    
    • Eyedust@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      11 天前

      Godless heathen here.

      • Balthazar@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        11 天前

        At least I use bash!

      • MonkderVierte@lemmy.ml
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        11 天前

        Yes?

  • JoeKrogan@lemmy.world
    link
    fedilink
    arrow-up
    15
    ·
    edit-2
    11 天前

    “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
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      2
      ·
      11 天前

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

  • hallettj@leminal.space
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    1
    ·
    11 天前

    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.

  • deadcatbounce@reddthat.com
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    10 天前

    bat.

  • MonkderVierte@lemmy.ml
    link
    fedilink
    arrow-up
    9
    ·
    11 天前

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

    • tetris11@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      11 天前

      is that an alias or a sys env?

      • MonkderVierte@lemmy.ml
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        11 天前

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

        • tetris11@lemmy.mlOP
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          11 天前

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

          • MonkderVierte@lemmy.ml
            link
            fedilink
            arrow-up
            2
            ·
            10 天前

            Yeah, less is weird there with needing the pipe.

  • setVeryLoud(true);@lemmy.ca
    link
    fedilink
    arrow-up
    8
    ·
    10 天前

    Less is more!

  • 柊 つかさ@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    11 天前

    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 (any/all)@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    11 天前

    I use a teletype. My scrollback is INFINITE.

    • tetris11@lemmy.mlOP
      link
      fedilink
      arrow-up
      6
      ·
      11 天前

      your buffer size must exceed several floppies!

  • mvirts@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    9 天前

    Less, then “vim -” after I realize I don’t know how to use less.

  • nao@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    11 天前

    more only if less is not available

  • The Bard in Green@lemmy.starlightkel.xyz
    link
    fedilink
    arrow-up
    5
    ·
    11 天前

    tail -f of vim

Linux@lemmy.ml

linux@lemmy.ml

remote_follow_modal_title

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

community_visibility: public
globe

public_blurb

  • 540 users / day
  • 2.86K users / week
  • 7.19K users / month
  • 17.3K users / 6 months
  • number_of_local_subscribers
  • 54.5K subscribers
  • 7.89K Posts
  • 209K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • nooter692@lemmy.ml
    cake
  • MarcellusDrum@lemmy.ml
  • Arthur Besse@lemmy.ml
  • Cyclohexane@lemmy.ml
  • d3Xt3r@lemmy.nz
  • UI: unknown version
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org