• bundes_sheep@lemmy.one
    link
    fedilink
    arrow-up
    11
    ·
    1 year ago

    Are these built to handle pipes? If I bat a file and redirect it to a file, does it work as expected or does it add in the escape sequences for the colors, for example?

    • Phi@feddit.de
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      1 year ago

      bat foo | bar behaves like cat foo | bar same with > and such.