@folak@lemmy.world to Linux@lemmy.ml • edit-29 months agomodern unixgithub.comexternal-linkmessage-square47fedilinkarrow-up1324file-textcross-posted to: linux@programming.dev
arrow-up1324external-linkmodern unixgithub.com@folak@lemmy.world to Linux@lemmy.ml • edit-29 months agomessage-square47fedilinkfile-textcross-posted to: linux@programming.dev
minus-square@bundes_sheeplink11•9 months agoAre 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?
minus-squarePhilinkfedilink8•edit-29 months agobat foo | bar behaves like cat foo | bar same with > and such.
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?
bat foo | bar
behaves likecat foo | bar
same with>
and such.