Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problems with zargs (Was: xargs should be a builtin)
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 <schaefer@xxxxxxxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author