On Thu, Sep 07, 2006, Otto Moerbeek wrote:

> If anybody has access to a Solaris machine, I like to know what the 
> test does there.


There's 2 different egreps on solaris. I had to give the full path to the
one that supported the -x option. Granted this isn't the most up to date
SunOS:

% uname -a
SunOS cluster1 5.8 Generic_117350-02 sun4u sparc SUNW,Ultra-2
% echo "some text here" | /usr/xpg4/bin/egrep -x "" ; echo $status
1
% echo "some text here" | gegrep -x "" ; echo $status
1

Reply via email to