schizoidman@lemmy.ml to Linux@lemmy.mlEnglish · 4 months agoDebian spices up APT package manager with a dash of colorwww.theregister.comexternal-linkmessage-square39fedilinkarrow-up1119arrow-down12
arrow-up1117arrow-down1external-linkDebian spices up APT package manager with a dash of colorwww.theregister.comschizoidman@lemmy.ml to Linux@lemmy.mlEnglish · 4 months agomessage-square39fedilink
minus-squareThe Doctor@beehaw.orglinkfedilinkEnglisharrow-up1arrow-down1·4 months agoIt’ll be fun filtering all the color codes out of build logs, that’s for sure. :/
minus-squareReversalHatchery@beehaw.orglinkfedilinkEnglisharrow-up1·4 months agoSo far almost any Linux software I have used and supports colored output automatically turns off coloring if it detects that stdout is not a terminal.
minus-squarehelaslo@lemm.eelinkfedilinkarrow-up1·4 months agoApt even warns you to not use it for anything scripting related, apt-get has a stable interface for exactly that
It’ll be fun filtering all the color codes out of build logs, that’s for sure. :/
So far almost any Linux software I have used and supports colored output automatically turns off coloring if it detects that stdout is not a terminal.
Apt even warns you to not use it for anything scripting related, apt-get has a stable interface for exactly that