Hi,
We have a shell script which does something like this:
$pipe = /tmp/xxx
mkfifo $pipe
log_reader_script < $pipe &
main_program | tee -a $pipe &
I was wondering, if I do the following:
main_program | tee -a | log_reader_script
What are the avantages, disadvantages of each approach?
Thanks for your kind help.
Regards,
Ashish