[nSLUG] Tee (was April Tech Talk)
hnassrat at gmail.com
Wed Apr 22 11:44:06 ADT 2015
On Wed, Apr 22, 2015 at 11:26 AM Vlado Keselj <vlado at dnlp.ca> wrote:
> Yes, I would like to add thumbs up for tee as well. I like to following
> Perl idiom in some situations:
> open(STDOUT, "|tee logfile.txt") or die "Can't redirect stdout";
> open(STDERR, ">&STDOUT") or die "Can't dup stdout";
> and from there on, just use normal print, etc., to write to the standard
> output, while everything is recorded into the logfile.
I misread this and got excited for a second. Thought NSLUG was getting tee
Shirts made :). A tee shirt would probably be really cool :P
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nSLUG