Hello,
I want to unzip a file and run another perl script on it. So I tried to
pipe the STDOUT to the script........
-- system("gzip -d < abc.ndx | perl myscript.pl");
but I suppose the STDOUT is huge so half way the system gives an
error... "file too large" and exits.
So I tried to split the STDOUT and run the perl script......
-- system("gzip -d < abc.ndx | split -10000000 | perl myscript.pl");
But that doesn't solve the purpose as I need to run the script on each
split.
Can anybody suggest a better way of doing it?
Thanks in advance
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]