folak@lemmy.world to Linux@lemmy.ml · edit-21 year agomodern unixgithub.comexternal-linkmessage-square6fedilinkarrow-up11arrow-down10cross-posted to: luckystarr@feddit.de
arrow-up11arrow-down1external-linkmodern unixgithub.comfolak@lemmy.world to Linux@lemmy.ml · edit-21 year agomessage-square6fedilinkcross-posted to: luckystarr@feddit.de
minus-squarebundes_sheep@lemmy.onelinkfedilinkarrow-up0·1 year 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-squarePhi@feddit.delinkfedilinkarrow-up0·edit-21 year 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.