From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8330 invoked from network); 14 Mar 2006 09:22:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 14 Mar 2006 09:22:52 -0000 Received: (qmail 55289 invoked from network); 14 Mar 2006 09:22:44 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 14 Mar 2006 09:22:44 -0000 Received: (qmail 12099 invoked by alias); 14 Mar 2006 09:22:37 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10016 Received: (qmail 12089 invoked from network); 14 Mar 2006 09:22:37 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 14 Mar 2006 09:22:37 -0000 Received: (qmail 54289 invoked from network); 14 Mar 2006 09:22:36 -0000 Received: from 64-mi2-2.acn.waw.pl (82.210.189.64) by a.mx.sunsite.dk with SMTP; 14 Mar 2006 09:22:36 -0000 Received: from mike by 64-mi2-2.acn.waw.pl with local (Exim 4.60) (envelope-from ) id 1FJ5jf-0002Yu-5u for zsh-users@sunsite.dk; Tue, 14 Mar 2006 10:22:35 +0100 Date: Tue, 14 Mar 2006 10:22:35 +0100 From: Michal Politowski To: zsh-users Mailinglist Subject: Re: Can I do without "eval" here? Message-ID: <20060314092235.GA9475@charybda.icm.edu.pl> Mail-Followup-To: zsh-users Mailinglist References: <6F0CB04509C11D46A54232E852E390AC01004881@MCHP7R6A.ww002.siemens.net> <20060314091619.GA5940@DervishD> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20060314091619.GA5940@DervishD> X-PGP: 1024D/6B757C5B; 1C98 622F 6A6D 822D 3E95 2626 14EB 98C1 6B75 7C5B; 2004-02-29 -- 2006-02-28 User-Agent: Mutt/1.5.11+cvs20060126 On Tue, 14 Mar 2006 10:16:19 +0100, DervishD wrote: [...] > options=3D("-x") > (($#)) && options=3D("-y" "$1") > CMD $options[1] $options[2] foo There is no need to split the array manually. CMD $options foo will do. --=20 Micha=B3 Politowski Talking has been known to lead to communication if practiced carelessly.