> > something | tee -a $mail_msg_file >> $LOGFILE > > > > instead of using exec redirection ? But that's probably out of the scope > > of bug 481 ... > > That's on my ToDo list for the "nightls.sh" cleanup. > The correct fix would be to use ksh93 and then use the stuff described > in > http://www.opensolaris.org/os/project/shell/shellstyle/#use_dynamic_file_descriptors > to open the log file once and then write to it (instzead of generating > an |open()|/write()|/close()|-sequence for each redirection).
Nice link! Thank you -- Vlad
pgpbrH5a4HcAl.pgp
Description: PGP signature
_______________________________________________ tools-discuss mailing list tools-discuss@opensolaris.org