schizoidman ( schizoidman@lemmy.ml ) to Linux@lemmy.mlEnglish · 2 years agoDebian spices up APT package manager with a dash of colorwww.theregister.comexternal-linkmessage-square18linkfedilinkarrow-up1162
arrow-up1162external-linkDebian spices up APT package manager with a dash of colorwww.theregister.comschizoidman ( schizoidman@lemmy.ml ) to Linux@lemmy.mlEnglish · 2 years agomessage-square18linkfedilink
minus-squareFrater Mus ( fratermus@lemmy.sdf.org ) linkfedilinkEnglisharrow-up6·2 years agoAgreed. I haven’t read the article yet, but my first thought was “how am I going to turn that off”
minus-squareThe Doctor ( drwho@beehaw.org ) linkfedilinkEnglisharrow-up4·2 years agoIt’ll be fun filtering all the color codes out of build logs, that’s for sure. :/
minus-squarehelaslo ( helaslo@lemm.ee ) linkfedilinkarrow-up5·2 years agoApt even warns you to not use it for anything scripting related, apt-get has a stable interface for exactly that
minus-squareReversalHatchery ( ReversalHatchery@beehaw.org ) linkfedilinkEnglisharrow-up4·2 years 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-squaremexicancartel ( mexicancartel@lemmy.dbzer0.com ) linkfedilinkEnglisharrow-up3·2 years agoProbably it will have an option --no-color or something as well as config. Somebody will ask for it for a specific niche use case and it might not be hard to implement within apt so they add it
Agreed. I haven’t read the article yet, but my first thought was “how am I going to turn that off”
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.
Probably it will have an option --no-color or something as well as config. Somebody will ask for it for a specific niche use case and it might not be hard to implement within apt so they add it