#!/usr/bin/awk -f /^C | conflicts / { print "\033[1;31m" $0; next } /^\? / { print "\033[0;33m" $0; next } /^A / { print "\033[1;33m" $0; next } /^N / { print "\033[1;33m" $0; next } # import /^R / { print "\033[0;35m" $0; next } /^P / { print "\033[0;36m" $0; next } /^Merging differences / { print "\033[0;36m" $0; next } /already contains the differences/ { print "\033[0;36m" $0; next } /^U / { print "\033[1;32m" $0; next } /^M / { print "\033[0m" $0; next } /^(RCS file: |retrieving |done$)/ { print "\033[1;30m" $0; next } /not .* pertinent/ { print "\033[0;1m" $0; next } /^cvs server: Updating / { print "\033[1;30m" $0; next } # Nothing should reach here { print "\033[1;35m" $0 } END { printf "\033[0m" }