bash: print stderr in red color

command 2> >(while read line; do echo -e "\e[01;31m$line\e[0m" >&2; done)

Leave a Comment