From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12719 invoked by alias); 14 Apr 2012 17:02:04 -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: 30405 Received: (qmail 1577 invoked from network); 14 Apr 2012 17:02:00 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham 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: <120414100119.ZM8559@torch.brasslantern.com> Date: Sat, 14 Apr 2012 10:01:19 -0700 In-reply-to: <20120413201325.64cfcd1f@pws-pc.ntlworld.com> Comments: In reply to Peter Stephenson "Re: Problems with zargs (Was: xargs should be a builtin)" (Apr 13, 8:13pm) References: <0363642A-FD71-4DEE-8284-D7E72EAC8AD0@Yost.com> <87k41mr9u7.fsf@ft.bewatermyfriend.org> <20120411100642.GA8180@chaz.gmail.com> <20120411171539.4a09da6a@pws-pc.ntlworld.com> <20120412092822.GA13041@chaz.gmail.com> <20120412203307.615482e5@pws-pc.ntlworld.com> <20120413201325.64cfcd1f@pws-pc.ntlworld.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Problems with zargs (Was: xargs should be a builtin) MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Apr 13, 8:13pm, Peter Stephenson wrote: } Subject: Re: Problems with zargs (Was: xargs should be a builtin) } } On Fri, 13 Apr 2012 08:43:50 -0700 } Bart Schaefer wrote: } > One concern I have is that this may have changed behavior with respect } > to aliases. Does the first word of $call need to be unquoted? } } You're probably right that it's changed the behaviour. I'm not sure if } it was ever clear that aliases would be expanded, but there's no reason } not to restore it. I've just checked this against a few older versions of the shell and it appears that aliases were never expanded. So we can either leave it as it is, or change it to allow aliases in the command position ... but there is no way I can see to allow *global* aliases to expand without breaking quoting of the rest of the arguments. So perhaps the status quo is best maintained. -- Barton E. Schaefer