From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23528 invoked by alias); 11 May 2011 15:03:51 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29222 Received: (qmail 12457 invoked from network); 11 May 2011 15:03:49 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <110511080327.ZM23776@torch.brasslantern.com> Date: Wed, 11 May 2011 08:03:27 -0700 In-reply-to: <1305118971-25617-1-git-send-email-mikachu@gmail.com> Comments: In reply to Mikael Magnusson "PATCH: expanding parameters like echo/print builtins" (May 11, 3:02pm) References: <1305118971-25617-1-git-send-email-mikachu@gmail.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: PATCH: expanding parameters like echo/print builtins MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On May 11, 3:02pm, Mikael Magnusson wrote: } Subject: PATCH: expanding parameters like echo/print builtins } } Is this already possible? I had an array with a lot of \u1234 escapes } in it, and couldn't find a way to do it easily. I'd probably have done it with ${(%)arr:gs/%/%%} ... but I don't have any objection to the (g) flag except to wonder if another choice for the letter (g) might be better. The fact that it mnemes to GETKEY_ isn't going to be very helpful to most users. But I don't have the list of available letters handy. :-)