Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -wl
    $| = 1; # unbuffered output
    ...
    killing 14782
    this goes to STDOUT (log_2)
    This goes to STDERR (log_2) at tee.pl line 8.
    
  2. or download this
    $ cat log_1 log_2
    this goes to STDOUT (log_1)
    This goes to STDERR (log_1) at tee.pl line 8.
    this goes to STDOUT (log_2)
    This goes to STDERR (log_2) at tee.pl line 8.