Hi,
I am running a system command from my perl script which looks like
system("collect_stats 20 11 > file1");
the output of the above collect_stats will take some time. output will be printed in line by line fashion with some time intervals between each line. it will look like.
.... calculating
100
200
300
1000
123
done calculating.
But only the first line is saved in file1. remaining are not being saved in the file.
Please help me out.
Thanks,
Manoj