One of the new features in bash 4.0 is the coproc statement.
The coproc statement allows you to create a co-process that
is connected to the invoking shell via two pipes: one to send
input to the co-process and one to get output from the co-process. more>>


