foss

  • jsdz@lemmy.ml
    link
    fedilink
    arrow-up
    13
    ·
    2 years ago

    “bat” seemed interesting, until I remembered that I’d just do a “git diff” if I wanted to see a diff. The rest do not strike me as substantially better than what they’re trying to replace. Enjoy them all as you will, but I would recommend refraining from describing them as “modern unix” in the presence of any old-timers.

    • GlitzyArmrest@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 years ago

      I use bat as a drop in replacement for cat (overriding cat in my .zshrc) by using --style=plain --paging=never on the bat command. Basically looks and works the same as cat, except with syntax highlighting.

    • Pantherina@feddit.de
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 years ago

      Bat also adds lots of stuff to the output. Is there a clean print functionality without the extra numbers?

      Edit: but with the parameters its great!

    • Schmeckinger@feddit.de
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      2 years ago

      Probably because that’s basically the default license rust projects use and a lot of this stuff is made in rust.

    • xcjs@programming.dev
      link
      fedilink
      arrow-up
      7
      ·
      2 years ago

      Rust specializes in making parallel processing secure and approachable, so it’s going get used in problems where parallel processing and efficiency matter.

      Rust is also now allowed to be used in the Linux kernel for the same reasons, which is exciting!