diff --git a/src/cmd/gc/mkopnames b/src/cmd/gc/mkopnames index a161817f9cd..fb2ceec81f8 100755 --- a/src/cmd/gc/mkopnames +++ b/src/cmd/gc/mkopnames @@ -3,6 +3,10 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. +# Disable colored grep if user has it set to --color=always. +# (Arguably user error.) +export GREP_OPTIONS="" + echo '// auto generated by mkopnames' echo 'static char*' echo 'opnames[] = '