[nSLUG] Tee (was April Tech Talk)
D G Teed
donald.teed at gmail.com
Fri Apr 24 10:56:52 ADT 2015
On Wed, Apr 22, 2015 at 11:44 AM, Hatem Nassrat <hnassrat at gmail.com> wrote:
> 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
If you buy one tee shirt, a second one falls out on the floor.
More information about the nSLUG