From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22131 invoked from network); 14 Sep 1999 14:26:22 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 14 Sep 1999 14:26:22 -0000 Received: (qmail 23113 invoked by alias); 14 Sep 1999 14:26:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7826 Received: (qmail 23106 invoked from network); 14 Sep 1999 14:26:07 -0000 Date: Tue, 14 Sep 1999 10:25:42 -0400 From: Clint Adams To: Peter Stephenson Cc: Zsh hackers list Subject: Re: PATCH: _hosts, _hostports, _telnet and _socket Message-ID: <19990914102542.A31453@dman.com> References: <199909130909.LAA14546@paris.ifh.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0pre2i In-Reply-To: <199909130909.LAA14546@paris.ifh.de> > I'd have said there was room for an autoloaded function _ports, which can > use telnet_ports and then default to something like > awk '/^[a-z]/ { print $1 }' /etc/services It might be more useful to divide based on protocol type if you know that a particular program is TCP-only.