home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!dl2p+
- From: dl2p+@andrew.cmu.edu (Douglas Allen Luce)
- Newsgroups: comp.lang.perl
- Subject: Re: Problems with "tee"
- Message-ID: <geZIBQS00XQL8IuKYo@andrew.cmu.edu>
- Date: 21 Aug 92 11:26:20 GMT
- References: none
- <1992Aug21.172813.13174@odin.corp.sgi.com>
- Distribution: usa
- Organization: Chemical Engineering, Carnegie Mellon, Pittsburgh, PA
- Lines: 22
- In-Reply-To: <1992Aug21.172813.13174@odin.corp.sgi.com>
-
- Excerpts from netnews.comp.lang.perl: 21-Aug-92 Problems with "tee"
- rodman@sgi.com (794)
-
-
- > I'm having a problem with the following use of "/bin/tee" within
- > a open statement.
-
- > This is the sampleprogram:
- > ---------------------------------------------------------
- > #!/usr/local/bin/perl
-
- > open (FOO, "| tee >foobaz");
- > print FOO "This is a test of tee with perl\n";
- > close FOO;
-
- > exit;
- > ---------------------------------------------------------
-
-
- Try open(FOO,"|tee foobaz") for best results.
-
- dug
-