in reply to (solved) Redirect Shell Launch to perl script

in
${SERVER} 2>&1 | tee ${HIVE} ${LOGFILE}
I'd expect tee to overwrite your ${HIVE} script. Why don't you
${SERVER} 2>&1 | tee ${LOGFILE} | ${HIVE}
?

Replies are listed 'Best First'.
Re^2: Redirect Shell Launch to perl script
by delpi (Novice) on Nov 27, 2016 at 18:24 UTC
    Why don't I? Obviously because I don't know that fact and it is why I asked for help.