From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16145 invoked from network); 26 Mar 2006 20:51:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) 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.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 26 Mar 2006 20:51:58 -0000 Received: (qmail 59008 invoked from network); 26 Mar 2006 20:51:50 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Mar 2006 20:51:50 -0000 Received: (qmail 9385 invoked by alias); 26 Mar 2006 20:51:42 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10091 Received: (qmail 9376 invoked from network); 26 Mar 2006 20:51:41 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 26 Mar 2006 20:51:41 -0000 Received: (qmail 57983 invoked from network); 26 Mar 2006 20:51:41 -0000 Received: from vms044pub.verizon.net (206.46.252.44) by a.mx.sunsite.dk with SMTP; 26 Mar 2006 20:51:40 -0000 Received: from torch.brasslantern.com ([71.116.81.225]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IWR0018H5XX3VI0@vms044.mailsrvcs.net> for zsh-users@sunsite.dk; Sun, 26 Mar 2006 14:51:39 -0600 (CST) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id k2QKtTjx028696 for ; Sun, 26 Mar 2006 12:55:30 -0800 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id k2QKtTsp028695 for zsh-users@sunsite.dk; Sun, 26 Mar 2006 12:55:29 -0800 Date: Sun, 26 Mar 2006 12:55:29 -0800 From: Bart Schaefer Subject: Re: Quoting =(command) In-reply-to: <200603261837.k2QIbOow004386@pwslaptop.csr.com> To: zsh-users@sunsite.dk Message-id: <060326125529.ZM28694@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <200603261837.k2QIbOow004386@pwslaptop.csr.com> Comments: In reply to Peter Stephenson "Re: Quoting =(command)" (Mar 26, 7:37pm) On Mar 26, 7:37pm, Peter Stephenson wrote: } } [This is probably more in the line of zsh-users.] [Redirected there.] } "A. Wik" wrote: } > # star -cv f=etc-bak.tar -C / list==(cd / ; find ./etc ...) } > zsh: parse error near `)' } } If you really do want a file name containing the list, I think you're in } trouble because the code seems to indicate =(...) only works at the } start of the word: as the manual says, a full command argument must be } in that form. A real zsh parameter assignment works, though: list==(cd /; print -l ./etc/**/*(+ntr)) eval 'star -cv list=$list -C /'