How to highlight your output in Bash

Even if you write your program with Bash, you have to think about the user. To improve the program interface, you can use special escape sequences to highlight output. For example: printf — ‘ doing something… \n’;printf — ‘\033[37m one more output \033[0m\n’;printf — ‘\033[32m SUCCESS: yay \033[0m\n’;printf — ‘\033[33m WARNING: hmm \033[0m\n’;printf — ‘\033[31mContinue Reading