sorry if it's a duplicate but i couldn't find the answer. I'm quite novice in programming but i want to put some colors in terminal on some of my functions, i found out printf family function could set up colors with '33[..m' or 'x1B[..m' but : -Is there other ways to do it? -if so : Is there a way which is advised for the standard portability? (for exemple are the printf's previous two syntax i mentionned working on same systems?)
2.1m questions
2.1m answers
60 comments
56.9k users