From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2766 invoked by alias); 6 Jun 2013 14:25:53 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17823 Received: (qmail 6266 invoked from network); 6 Jun 2013 14:25:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DATE_IN_PAST_06_12, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <130605231740.ZM7488@torch.brasslantern.com> Date: Wed, 05 Jun 2013 23:17:40 -0700 In-reply-to: Comments: In reply to Wawrzek Niewodniczanski "Re: mapfile, many files and globbin" (Jun 5, 10:30pm) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Wawrzek Niewodniczanski Subject: Re: mapfile, many files and globbin Cc: Zsh Users MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Jun 5, 10:30pm, Wawrzek Niewodniczanski wrote: } } I just tested it and got: } } names=( TEST/**/*list(.L+0e:'reply=(${(f)mapfile[$REPLY]})':) ) } zsh: bad floating point constant } zsh: bad floating point constant } zsh: no matches found: TEST/**/*list(.L+0e:reply=(${(f)mapfile[$REPLY]}):) } } What's wrong? You don't have the zsh/mapfile module loaded, so $mapfile is being treated as an ordinary array and the subscript (that is, each file's name) is being interpreted as an arithmetic expression.