Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: (j.|.)
On Tue, Jan 31, 2023, at 4:50 PM, Ray Andrews wrote:
> On 2023-01-31 12:19, Roman Perepelitsa wrote:
>>
>> Do you understand what this does?
>>
>> print -r -- ${(ok)parameters[(I)pa*|PA*]}
>
> I'm afraid I don't, never seen anything like it before this. But I'd
> better find out. I'm sure I've seen the pipe char. as an operator.
> Alternation, no?
Search for "x|y" in zshexpn(1).
> But never in this sort of context.
Search for "Subscript Flags" in zshparam(1), then find the "I" flag.
> ... but wait ... the 'j' ... I don't know where to read up on that ...
Search for "j:string:" in zshexpn(1).
--
vq
Messages sorted by:
Reverse Date,
Date,
Thread,
Author