schizoidman@lemmy.ml to Linux@lemmy.mlEnglish · 5 months agoDebian spices up APT package manager with a dash of colorwww.theregister.comexternal-linkmessage-square47fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1external-linkDebian spices up APT package manager with a dash of colorwww.theregister.comschizoidman@lemmy.ml to Linux@lemmy.mlEnglish · 5 months agomessage-square47fedilink
minus-squareThe Doctor@beehaw.orglinkfedilinkEnglisharrow-up0·5 months agoIt’ll be fun filtering all the color codes out of build logs, that’s for sure. :/
minus-squarehelaslo@lemm.eelinkfedilinkarrow-up0·5 months agoApt even warns you to not use it for anything scripting related, apt-get has a stable interface for exactly that
minus-squareReversalHatchery@beehaw.orglinkfedilinkEnglisharrow-up0·5 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.
It’ll be fun filtering all the color codes out of build logs, that’s for sure. :/
Apt even warns you to not use it for anything scripting related, apt-get has a stable interface for exactly that
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.