From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27651 invoked from network); 5 Jan 2000 15:46:35 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 5 Jan 2000 15:46:35 -0000 Received: (qmail 22089 invoked by alias); 5 Jan 2000 15:46:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9220 Received: (qmail 22082 invoked from network); 5 Jan 2000 15:46:28 -0000 Message-ID: <3873674D.6C340DE7@u.genie.co.uk> Date: Wed, 05 Jan 2000 15:46:21 +0000 From: Oliver Kiddle X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Zsh workers Subject: Re: help with command completion References: <200001051437.PAA10986@beta.informatik.hu-berlin.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sven Wischnowsky wrote: > Then we can just start generating the printer names in this `if'. One > possibility is something like: > > compadd - "${(@)${(@s:|:)${(@)${(@f)$(< /etc/printcap)}:#[ \#]*}%%:*}%%[ ]*}" I was just looking into trying to adapt this to work on AIX aswell. AIX lists the print queues in /etc/qconfig. The following works there: _lp_cache=( ${${(f)"$(