Hello. I have a shell script that process about 35MB data: command1
produce 35MB data and sed do some work to the data, send to command2 who
receive these data:

$ command1 | sed -e 'xxxx' | command 2

The problem being I don't know the progress. Unfortunately both command1
and command2 do not have any output of progress, maybe 'sed' has a way
of displaying progress but I could not find. The commands run very long
time (1 day) so I need a way to know how much data has been processed
(1MB? 10MB?).

I guess maybe there have already been such a useful tool that simply
read data from stdin, write to stdout (like cat) but meanwhile produce a
message on STDERR saying "xxx bytes has been read". But I couldn't find
it. I also think it would be nice if cat(1) or tr(1) have a 'verbose'
option that report progress to STDERR, but cat(1) don't seem to have
such an option.

What would you suggest for my case to report progress?

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to