Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: ztcp



On Sep 8,  5:07pm, Clint Adams wrote:
} 
} % ztcp hostname port
} hostname:port is now on fd 5

Rather than print this to stdout, you'd be better off stuffing it into
te value of the $REPLY parameter, or allowing the caller to pass a
parameter name into which the fd number would be stuffed.

Even better, allow the caller to pass in an fd number to which the new
connection will be dup2'd.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author