Thanks for the reply. I tried this in solaris environment from the shell, it works fine.
But I want execute this whole command
(tar cvf - *.log*|gzip -c >abc.tar.gz) or
(find . -name '*.log*'|xargs tar cvf - |gzip -c >abc.tar.gz)
from TCL environment, something like the following:
set abc [eval exec find . -name '.'|xargs tar cvf - |gzip -c >abc.tar.gz ]
when I execute it form TCL environemt I got "find: bad option tar"
Any idea?