Newsgroups: comp.unix.shell
Path: utzoo!utgpu!watserv1!watmath!mitra!larry
From: larry@mitra.mitra.com (Larry Williamson)
Subject: co-processes and bash (ksh does it, can bash?)
Organization: Mitra Imaging Corp.
Date: 26 Jun 91 10:32:54
Message-ID: <LARRY.91Jun26103254@mitra.mitra.com>
Sender: larry@mitra.com (Larry Williamson)


Ksh supports the concept of a co-process. You can start a process in
the background with it's stdin and stdout connected to the shell. You
do this by putting the |& operator after the command. You can then use
read -p to read from the co-process and print -p to write to it.

I don't see any mention of this nice feature in the BASH
documentation.

Is there any plan to support this in the future?

Is there some other, more general procedure, by which this same
feature could be accomplished?

-Larry
