Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: prefix and join an array
- X-seq: zsh-users 24814
- From: Eric Nielsen <eric@xxxxxxxxxxxxxxxx>
- To: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- Subject: RE: prefix and join an array
- Date: Wed, 29 Apr 2020 04:22:20 +0000
- Accept-language: en-US, pt-BR
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h8CsvsyUJJJSGmHoboXmFOqg2DUB6xMZ8XbmYf3eDhc=; b=RuGKoUgCyss2nO97jdR8MNhQk++W32oEzjICPX4CLNv9j7+iArDNyAFWpNZrqmaTPw0y/9VcbqnXddBzt50NTgzw3+IP72qQ2amivq+RUyEOtkIPsctYK4Ue0TKW7GFM0lS1g87NCcx+exXBsKN/JXweE2Db8bxbOaQb+sYXbZkJzwgh3YHCHzCJRo7yVo+dRJ25DpkjRCXcm3Db978rPmA928kYVO5DpZBh/3kEXWG7mfnS/OsPq3hEesYLresEawW9YxrsgOuRhPG7MWiLexG5xzDDh+SSNPLWaU34LXpYpU6dojNwAT4HmdN6X/BqTUkM6egEftFiWbvQsggjzA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oVGBEkc/k9DP8geH09otPK4/fRTdiV716tNLK3tDffSeszwoytzRxVvINgisbdDbcSJsL8WpX5VwvoxoWPuGHNEMHL2JLUEf+lyTI43laAsHm0JHufgpPqG7mTdc1bHxlh06trlsZ2O02Kpe39UT8lTid5n00RGoCspNwOVFLWJ/kLUQQFdsR143ca5NM0YS6S0wOtTdnfe7US7309h3GjGG6ErdifI/H04nBo7wM+WQWU4v00XmSvQGKXpTXvAj0CLiPa9XECfKWe8A8JftDTFath7oXMrAH3EdTU17wt5Py7CpQDeUNiuQkeOGdAUoP2teyN+vk7sS5T3o+KOReQ==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Thread-index: AQHWHd3FDguv/S5Ax0Gmr48xnmkycw==
- Thread-topic: prefix and join an array
>> % print ${(j., .)${:-DNS:${^list}}}
> Haa, the secret was in ${name:-word}!
> Thank you, Bart (:
I think you can simplify it further to
print ${(j., .):-DNS:${^list}}
right?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author