home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / perl / 5425 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.0 KB

  1. Path: sparky!uunet!olivea!sgigate!odin!pkr.asd.sgi.com!rodman
  2. From: rodman@pkr.asd.sgi.com (Paul Rodman)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: Problems with "tee"
  5. Message-ID: <1992Aug21.215940.27856@odin.corp.sgi.com>
  6. Date: 21 Aug 92 21:59:40 GMT
  7. References: <none> <1992Aug21.172813.13174@odin.corp.sgi.com> <1992Aug21.202726.15093@nas.nasa.gov>
  8. Sender: news@odin.corp.sgi.com (Net News)
  9. Reply-To: rodman@pkr.asd.sgi.com (Paul Rodman)
  10. Distribution: usa
  11. Organization: Silicon Graphics Inc.
  12. Lines: 17
  13. Nntp-Posting-Host: pkr.asd.sgi.com
  14.  
  15. In article <1992Aug21.202726.15093@nas.nasa.gov>, jns@ace.nas.nasa.gov (John N. Stewart) writes:
  16. |> In article <1992Aug21.172813.13174@odin.corp.sgi.com> rodman@pkr.asd.sgi.com (Paul Rodman) writes:
  17. |> >
  18. |> >I'm having a problem with the following use of "/bin/tee" within 
  19. |> >a open statement. 
  20. |> >open (FOO, "| tee >foobaz");
  21. |> 
  22. |> The ">" is redirecting STDOUT into the file.
  23. |> 
  24. |> --
  25. |> John Stewart (Ace)
  26.  
  27. Duh. Argh.
  28. Thanks to all those that pointed out the problem with my memory, rather than 
  29. "tee" or "open". sigh.
  30.  
  31. -paul
  32.