home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / perl / 7465 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.4 KB  |  32 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!sgiblab!ultra!jerbil
  3. From: jerbil@ultra.com (Joseph Beckenbach {Adapter Software Release Engr})
  4. Subject: WANTED:  many-to-one stream multiplexer
  5. Message-ID: <1992Dec16.180529.21430@ultra.com>
  6. Summary: Am I dreaming, or need I hack some C?
  7. Organization: Ultra Network Technologies
  8. Distribution: usa
  9. Date: Wed, 16 Dec 92 18:05:29 GMT
  10. Lines: 20
  11.  
  12.     I thought I saw, many moons ago, a means for multiplexing several
  13. streams onto one stream which could then be disentangled later.  I'm looking
  14. to merge stdout and stderr from a child process into one stream which preserves
  15. their relative time order.  This is to act as the head of a filter stream, and
  16. later filter modules will filter out specific combinations of lines on both
  17. streams, leaving all other output on those streams intact.
  18.     If I remember correctly, the lines were distiguished by being labelled
  19. with "STDOUT: " and "STDERR: " prepended to the appropriate stream from the
  20. child process.
  21.  
  22.     Pointers to FTP archives okay, though if it's short I'm sure that the
  23. other lurkers here would love to see what Perl can do.  Anyway, I dislike
  24. reinventing a wheel which I think I've seen before.
  25.  
  26.         Joseph Beckenbach
  27. -- 
  28. ----
  29. Joseph Beckenbach    jerbil@ultra.com    408-922-0600 x246
  30.     (speaking from, but not for, Ultra Network Technologies)
  31.  
  32.