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

Re: syntactic trivia



On Sat, Jan 2, 2021 at 9:50 AM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> '(#i)' is treating '$1*(/N)' simply as a string and doesn't care where
> it came from.  That's quite clear.

As usual, that's not quite it.  (#i) et al. are part of the pattern,
just like * and ? and [abc] would be.  Conversely, (/N) and so on
refer to characteristics of any files (or their names) that are found
by scanning a directory with the pattern.




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