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