From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11719 invoked from network); 23 Jul 1999 05:50:20 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Jul 1999 05:50:20 -0000 Received: (qmail 19148 invoked by alias); 23 Jul 1999 05:50:04 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2458 Received: (qmail 19122 invoked from network); 23 Jul 1999 05:50:02 -0000 Date: Thu, 22 Jul 1999 10:35:57 +1000 From: Bek Oberin To: Zsh Users Subject: Match on range Message-ID: <19990722103557.F240@tertius.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i X-Religion: linux slrn mutt vim For the completion of playcd, I want to match any number of a range created like this: 1-`cd-discid /dev/cdrom | cut -f2 -d' '` but I can't get compctl to recognize it as a range. Can it even -do- ranges? Closest I've got is this: compctl -k "(1-`cd-discid /dev/cdrom | cut -f2 -d' '`)" playcd but that just matches on an array with one member, being "1-18" or whatever. Not a range. Any ideas? bekj -- : --Hacker-Neophile-Eclectic-Geek-Grrl-Queer-Disabled-Boychick-- : gossamer@tertius.net.au http://www.tertius.net.au/~gossamer/ : Laughter is the closest distance between two people. : -- Victor Borge