Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Parameter Expansion
- X-seq: zsh-users 22815
- From: Clint Priest <cpriest@xxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Parameter Expansion
- Date: Sun, 13 Aug 2017 17:58:56 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=N3xNgx86WiYxljeF9KwsryuVUya4LKpTD5lRaSupx Sg=; b=dER0gUmbgJcINaa0AhLlcF2hJ3hIOwa+P9nGjZfXIS6ZDXgqS4jr0mIOQ PUfQcbi0YlfYySji3lIdVRh1GprO97dVK3rMrLGkXGXTxxiOakODw8HObQmPLgzx q9raK6OZPQZBi1+moj97mQJxe/Mpqr5coX8vEnrkS/yobME0OKn6eJY3C+Fs6Mjt K+J9E9s/i/jzOcyY0QuMvxJwQJqPPLdS9h7vzHVaEDMN8/e/Lf1Y/4GF99mZscxs 3lR3rvP0RilAZOWeeqKK7DL+I1muM+dpxVWm5kNIwq8uFPP2c/ApQev9/1IxIJij v646aw6bma5v8GrFmZl9WuWQul+MA==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Having trouble getting nested parameter substitution working again, how
can these two lines be correctly merged into a single line:
FUNCS=( $SD/autoload/*);
FUNCS=${(@)FUNCS:t};
Assume for arguments sake that SD is a working directory with an
autoload directory and autoload has one file in it (named pv).
The above two lines together properly produce ( pv ).
Thanks,
--
-Clint
Messages sorted by:
Reverse Date,
Date,
Thread,
Author