off topic: combined output of concurrent processes
Dave Ihnat
dihnat at dminet.com
Sat Apr 14 14:09:05 UTC 2012
On Sat, Apr 14, 2012 at 09:49:00PM +0800, Ed Greshko wrote:
> The one problem would be if, as the OP's script is written,
> backgrounding of processes is done there is no way to control the
> order of data being written to the pipe. And, as you pointed out,
> you may want to write out sequence numbers if that is important.
Well, it's guaranteed it will be in the order written by each process,
since the write to the pipe is queued in request order. I'm
anal-retentive; the more useful data, the better. The identifier &
sequence number gives me more data I can mung, and strip if I don't
need it.
Cheers,
--
Dave Ihnat
dihnat at dminet.com
More information about the users
mailing list