From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18707 invoked from network); 27 Aug 2002 21:16:15 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 27 Aug 2002 21:16:15 -0000 Received: (qmail 18485 invoked by alias); 27 Aug 2002 21:16:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17585 Received: (qmail 18472 invoked from network); 27 Aug 2002 21:16:08 -0000 To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Subject: Re: Non-patch: Option arguments In-reply-to: "Peter Stephenson"'s message of "Tue, 27 Aug 2002 11:48:06 BST." <22562.1030445286@csr.com> Date: Tue, 27 Aug 2002 22:21:13 +0100 From: Peter Stephenson Message-Id: <20020827212119.7FBC11C0DD@pwstephenson.fsnet.co.uk> I wrote: > I've rewritten the option handling for builtins to improve the currently > woeful handling of arguments to options. I've now committed this. The tests all pass (one error message changed due to the fact that option arguments are now handled generically), but keep a watch out for oddities. I updated the version to 4.1.0-dev-6 owing to the fact that the interface between the shell and builtins in modules is now different. I haven't tackled `cd'. It would be sensible also to add a BINF_ flag for `skip -- but don't attempt to parse options otherwise'. -- Peter Stephenson Work: pws@csr.com Web: http://www.pwstephenson.fsnet.co.uk