Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: (j.|.)



On Tue, 31 Jan 2023 at 18:50, Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:

On 2023-01-31 08:41, Roman Perepelitsa wrote:
>> Try it with more than one argument to see the difference.
>
>
Frustrating, Bart's version is necessary alright, but I can't dismantle
it so as to see what's going on.  At no point is a vertical bar visible,
it hasta be an operator of some kind, yes? An alternation?

print -r -- ${(j.|.)@}

Roman.


Messages sorted by: Reverse Date, Date, Thread, Author