foss

  • jsdz@lemmy.ml
    link
    fedilink
    arrow-up
    26
    ·
    1 year 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
      7
      ·
      1 year 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
      2
      ·
      edit-2
      1 year 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!