From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12975 invoked from network); 30 Aug 2005 14:05:20 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 30 Aug 2005 14:05:20 -0000 Received: (qmail 97793 invoked from network); 30 Aug 2005 14:05:13 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 30 Aug 2005 14:05:13 -0000 Received: (qmail 22808 invoked by alias); 30 Aug 2005 14:05:04 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9355 Received: (qmail 22796 invoked from network); 30 Aug 2005 14:05:03 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 30 Aug 2005 14:05:03 -0000 Received: (qmail 96319 invoked from network); 30 Aug 2005 14:05:03 -0000 Received: from mail-iinet.icp-qv1-irony2.iinet.net.au (HELO ihug-mail.icp-qv1-irony2.iinet.net.au) (203.59.1.196) by a.mx.sunsite.dk with SMTP; 30 Aug 2005 14:04:57 -0000 Received: from 203-206-53-182.dyn.iinet.net.au (HELO localhost.localdomain) (203.206.53.182) by ihug-mail.icp-qv1-irony2.iinet.net.au with ESMTP; 30 Aug 2005 22:04:13 +0800 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.13.4/8.12.8) with ESMTP id j7UDtVXR030773 for ; Tue, 30 Aug 2005 23:56:03 +1000 Received: (from doug@localhost) by localhost.localdomain (8.13.4/8.13.4/Submit) id j7UDtMXc030758 for zsh-users@sunsite.dk; Tue, 30 Aug 2005 23:55:22 +1000 X-Authentication-Warning: localhost.localdomain: doug set sender to dougkearns@gmail.com using -f Date: Tue, 30 Aug 2005 23:55:22 +1000 From: Doug Kearns To: Zsh Users Subject: Re: getopts and long options Message-ID: <20050830135522.GA30705@localhost.localdomain> Mail-Followup-To: Zsh Users References: <20050830101604.GA14851@DervishD> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050830101604.GA14851@DervishD> User-Agent: Mutt/1.4.2.1i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 On Tue, Aug 30, 2005 at 12:16:04PM +0200, DervishD wrote: > I would prefer to use the "getopts" builtin if possible, rather > than GNU getopt, to avoid a dependency, so: is there any 'trick' for > "getopts" to make it accept long options or must I use GNU getopt? Have a look at zparseopts. Regards, Doug