From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19482 invoked from network); 25 Dec 2003 00:00:28 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 25 Dec 2003 00:00:28 -0000 Received: (qmail 9519 invoked by alias); 25 Dec 2003 00:00:10 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6962 Received: (qmail 9496 invoked from network); 25 Dec 2003 00:00:09 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 25 Dec 2003 00:00:09 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.193.203.32] by sunsite.dk (MessageWall 1.0.8) with SMTP; 25 Dec 2003 0:0:8 -0000 Received: from DervishD.pleyades.net (212.Red-80-35-44.pooles.rima-tde.net [80.35.44.212]) by madrid10.amenworld.com (8.10.2/8.10.2) with ESMTP id hBP002K21550; Thu, 25 Dec 2003 01:00:02 +0100 Received: from raul@pleyades.net by DervishD.pleyades.net with local (Exim MTA 2.05) id <1AZIuk-00084s-00>; Thu, 25 Dec 2003 00:59:42 +0100 Date: Thu, 25 Dec 2003 00:59:42 +0100 From: DervishD To: Bart Schaefer Cc: Zsh Users Subject: Re: Surely this can be done easier... Message-ID: <20031224235942.GA31039@DervishD> Mail-Followup-To: Bart Schaefer , Zsh Users References: <20031224211027.GA30731@DervishD> <1031224214306.ZM12380@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1031224214306.ZM12380@candle.brasslantern.com> User-Agent: Mutt/1.4i Organization: Pleyades User-Agent: Mutt/1.4i Hi Bart :) * Bart Schaefer dixit: > } I have a file containing a list of files, and I want those files > } in a command line. The problem is that the filenames contain weird > } characters, spaces and so on. > This is pretty close to a FAQ. Yes O:) You can see the solution in the Examples of section 'Parameter Expansion' in the manual (well, now that I know what to look for). > $( "$( ${(f)"$( command ${(f)"$(