--- /usr/share/grc/conf.gcc 2004-02-26 16:51:36.431956976 -0700 +++ grc-1.0.6/conf.gcc 1999-11-22 12:52:08.000000000 -0700 @@ -1,10 +1,10 @@ # -regexp=\b(g?cc|[gc]\+\+|g?as|ld)\b -colours=white bold -count=once +regexp=\bgcc\b +colours=yellow +count=more ......... # -regexp=^\S*: +regexp=^.*?: colours=red count=once ......... @@ -12,51 +12,22 @@ regexp=\`\w+\' colours=green ......... -# compilation method modifiers -regexp=\s\-(O\d?|f\S+|pthread|g\S*|c|W\S,\S+)\b -colours=yellow -......... -# source file name -regexp=\s[^-]\S*\.(c|C|cc|c[x\+p]{2,2}|m|o|a|s)\b +# -O +regexp=\-O\d colours=green ......... # -o -regexp=\-o\s+\S+ -colours=green bold -count=once -......... -# -W... or -w -regexp=\s\-(W\S[^,]\S*|w\b) -colours=blue -......... -# -D... -regexp=\s\-D\S+ -colours=blue bold -......... -# -I... -regexp=\s\-I[^- ]\S* -colours=cyan -......... -# -I- -regexp=\s\-I\- -colours=cyan bold -......... -# -L... -regexp=\s\-L\S* -colours=magenta -......... -# -l... -regexp=\s\-l\S+ -colours=magenta bold +regexp=\-o\s.+\b +colours=yellow ......... # warning and error won't work, unless you redirect also # stderr to grcat # # warning -regexp=[Ww]arning[:\b] -colours=yellow bold +regexp=warning +colours=yellow ......... # error -regexp=[Ee]rror[:\b] +regexp=error colours=red blink count=stop