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.
$ uname -a SunOS mine 5.9 Generic_118558-11 sun4u sparc SUNW,Ultra-2 $ echo "some text here" | /usr/bin/egrep -x "" ; echo $? /usr/bin/egrep: illegal option -- x usage: egrep [ -bchilnsv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ... 2 $ echo "some text here" | /usr/xpg4/bin/egrep -x "" ; echo $? 1