Hi!
exec > >(tee -a foo.log)
exec 2> >(tee -a foo.log >&2)
Is there any alternative to the above statements? I find it troublesome,
that these processes aren't cleaned up after the script terminated.
Is it also recommended/possible to avoid involving "tee"? For
performance reasons maybe?
Cheers,
adrelanos