On Monday 05 March 2007 19:50, Zhang Weiwu wrote:
> What would you suggest for my case to report progress?
Write a non-buffering stage to preceed the sed stage.
command | non-buffering-counter | sed-stage | command2
The non-buffering counter stage immediately passes each input to its
output
(does not buffer [stack] the data) and also keeps a running total of
bytes/words that can be posted to a log file at convenient intervals of mbs.
On the other hand... we have an English saying that probably applies in
China
also... "a watched pot never boils". If you know the commands are reliable
then watching their progress (esp if you know it is going to take an entire
day) is silly... just wastes memory and slows the overall performance of the
process... dude, just let it run.
--
Kind regards,
M Harris <><
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]