Zsh Mailing List Archive
Messages sorted by:
Reverse Date
,
Date
,
Thread
,
Author
Re: playing with IFS
X-seq
: zsh-users 30538
From
: Philippe Altherr <philippe.altherr@xxxxxxxxx>
To
: Ray Andrews <rayandrews@xxxxxxxxxxx>
Cc
: Zsh Users <zsh-users@xxxxxxx>
Subject
: Re: playing with IFS
Date
: Mon, 13 Apr 2026 00:16:09 +0200
Arc-authentication-results
: i=1; mx.google.com; arc=none
Arc-message-signature
: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=fHAkB7yko5GlkUbElQElcB7NCOJsC7QSn7LR0I6m0KM=; fh=jPiVBPZEfwBf151+XrsNuwNUZll4fQOLSzRxlVE23MQ=; b=im4QXBRKSF59UXuwav6NdETdcynU8FJNUHoDHPZakeSRjRjU38Cxw3hkJwzYdZlMDe Tla0YLUAEy73GNTF6JtOFKM2RNOmeEIIlYBN66//Qzd9KYM5l7n0BHqi5gM0aC75DxsE hC2GUL+rDhS+gT+NGMaK7OO98RYessff2+KfKFNY5Sm9csvBMt97LE6fWvTnALipoP8n Hs79Yk0L8eOvlAzukovqeBrPPhqJ05mUThT1iJKHiqTq5P+Z0VengAAA50kNm8+mtGfz BuQqHfUMpHQm+A4uegbLo1FutuyyKtAY9N7KeXwLpcb22n/cz1S4f0PF0h+jgf9lKJrC XpPw==; darn=zsh.org
Arc-seal
: i=1; a=rsa-sha256; t=1776032182; cv=none; d=google.com; s=arc-20240605; b=Ojaa+mIB9j8wFPFTAFewYy1enIHxUZ9q0KHTQzxvhmYlNrk4woVNwyVTkfmFhlCscy cUsdPJIFL4LHkrEj9GmmgL5TcNdkdWCvgCeAdsI0OdOIB51UkEOSYiNOttxkpSrpIC51 UdXtk/jurfeYb59hWefwBOzHT9c69oiPo+HTSAg3VZWhHGMYOVWhKWj4tytb4g1Din7T OAQNtIsZp1oXw2bec5JWYp8GXLIJTgx3aEITWkNX/9hQFvF1olyrE3CiZQ0rZSDnVNSC t8lRsZZHE7k2yFd1t2CqxHowuvKzcJsHMcxVmG/PId+rIQbMe9/b1jtFuEus5KyW0+SI 2z7w==
Archived-at
: <https://zsh.org/users/30538>
In-reply-to
: <
4f9b10b9-0f66-4123-9a9f-f95f96a4b514@eastlink.ca
>
List-id
: <zsh-users.zsh.org>
References
: <
4f9b10b9-0f66-4123-9a9f-f95f96a4b514@eastlink.ca
>
The following should do the trick:
output=( "aaa" " bb bb " "ccc" )
output=(${(f)"$(cat <<< ${(F)output})"} )
print -rl $output
Output:
aaa
bb bb
ccc
Philippe
Follow-Ups
:
Re: playing with IFS
From:
Ray Andrews
References
:
playing with IFS
From:
Ray Andrews
Messages sorted by:
Reverse Date
,
Date
,
Thread
,
Author