Re: A question about filename generate
Perry Smith <[email protected]>
| Newsgroups | gmane.comp.shells.zsh.user |
|---|---|
| Message-ID | <[email protected]> |
> On Jul 27, 2025, at 20:06, Marc Chantreux <[email protected]> wrote: > >> But I’m still confused (surprised) why OPs original pattern did what it did. > > I just read the explaination from Mikael and Bart: short and clear. > Isn't it? Yes. The key for me here is the y of x~y is a string pattern. I looked at my zsh cheat sheet and saw two other patterns that I thought I would ask about if anyone would be so kind: I’m assuming that pat of the expression ^pat is a glob pattern. And x^y: my guess is that both x and y are glob patterns.