Subject: buggy grep in Solaris 10 (break gnupg)
To: None <tech-pkg@NetBSD.org>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: tech-pkg
Date: 04/12/2006 10:35:57
Hello,

It seems the solaris grep is buggy. I test the following:

[root@u2 100] echo hithere > conftest.txt
[root@u2 101] /usr/pkg/bin/tar -cf - conftest.txt | /usr/xpg4/bin/grep -q ustar
[root@u2 102] echo $?
1
[root@u2 103]

But

[root@u2 103] /usr/pkg/bin/tar -cf - conftest.txt | /usr/sfw/bin/ggrep -q ustar
[root@u2 104] echo $?
0
[root@u2 105]

How to use /usr/sfw/bin/ggrep as a TOOL for pkgsrc.

Thanks 
Gilles