issues with bsdgrep and lang/go

Test Rat ttsestt at gmail.com
Tue Aug 9 10:10:53 UTC 2011


Alexander Best <arundel at freebsd.org> writes:

[...]
> gmake -C 6g install
> gmake[1]: Entering directory `/usr/ports/lang/go/work/go-20110515/src/cmd/6g'
> quietgcc -I"/usr/ports/lang/go/work/go-20110515/include" -ggdb -O2 -c "/usr/ports/lang/go/work/go-20110515/src/cmd/6g/list.c"
> egrep: : error: .Each undeclared identifier|: error: for each function
> it appears|is dangerous, better use|is almost always misused|: In
> function |: At top level: |In file included from| from: No such file
> or directory

Do you use GREP_OPTIONS?

  $ echo foo | env -i GREP_OPTIONS= bsdgrep foo
  bsdgrep: foo: No such file or directory


More information about the freebsd-current mailing list