I need some example of Co-Processes

I want to know how to work the Co-Processes in kornshell scripts. So, I very need some script about Co-Processes!
thanks ...:slight_smile:

Well, the Bash of modern versions(>=2.0) provides a featured concept, called Process Substitution.
However, it works like chaos and functions limitedly.
Anyone can give some advanced way to make co-process?

I use ksh coprocesses all the time. Many of the scripts that I have posted here use coprocesses.

A simple script would be this automated ftp script.

This thread has a script that uses mutiple coprocesses.

And then, there is this.

Thanks for your help :slight_smile: