Dagobert Michelsen wrote: ... >> It already prepends "$(bindir):" to $PATH (bindir is $prefix/bin). >> Does that not work for you? > > Unfortunately not, as grep gets installed as ggrep to allow explicit > selection of greps. Sorry, I didn't thought of this when I wrote my > previous email. Looks like for me the explicit selection with > --with-grep=/opt/csw/bin/ggrep > would be best.
That's not needed, since zgrep can already accommodate that. Just set the GREP envvar to the name you happen to use: export GREP=ggrep Then, it should "just work".