Vladimir Marek wrote:
> > > The two different webrevs are
> > >
> > >     http://cr.opensolaris.org/~mjnelson/webrev.481/
> > >     http://cr.opensolaris.org/~mjnelson/webrev.481-firefox3.0/
> 
> I just went around and was curious. I wonder why there's so many
> 
> 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).

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL <currently fluctuating>
 (;O/ \/ \O;)

Reply via email to