hi
I run the following on sun Solaris (its run OK on Linux) but not on sun Solaris
name="(WORD = (TCPIP = (PROTOCOL = TCP)(WORD = ALIAS_NAME)(PORT = 10234))"
echo $name | grep -o "(WORD = (TCPIP = (PROTOCOL = TCP)(WORD = ALIAS_NAME)(PORT = 10234))"
grep: illegal option -- o
Usage: grep -hblcnsviw pattern file . . .
my question which the same option on sun Solaris as the option grep -o
(to match string capture)
lidia