John Wright Fri, 06 Jan 2006 07:13:21 -0800
How about #!/bin/ksh nc -l localhost 1234 |& exec 0<&p 1>&p # Rest of the script here.
This syntax is pretty new to me so I'm not sure of pros and cons.