What's a portable way to find out if a port is in use from a shell script? The output from netstat on solaris and linux is fairly different. Hugh