[clug] Next in my series of "how to do things in /bin/sh that you probably shouldn't".

Andrew Janke a.janke at gmail.com
Wed Aug 19 18:49:09 MDT 2009


PS: I do know of the:

#! /bin/sh

{

echo "here is where we do things"

} 2>&1 | tee logfile

method but for some reason this does not always work (some lines are
skipped?), there must be some subtle nuance of this that I am missing.


--
Andrew Janke
(a.janke at gmail.com || http://a.janke.googlepages.com/)
Canberra->Australia    +61 (402) 700 883


More information about the linux mailing list