Re: A question about filename generate

Marc Chantreux <[email protected]>
Newsgroups gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user
Message-ID <aIbNDTYmpWuKN0E_@prometheus>
hello,

On Sun, Jul 27, 2025 at 07:23:22AM -0500, Perry Smith wrote:
> Sorry… I’m confused.

Sorry I forgot to mention about my zsh defaults:

setopt noextendedglob noglobstarshort
print -l **~*.tex(.)

zsh: no matches found: **~*.tex(.)

setopt extendedglob noglobstarshort
print -l **~*.tex(.)

index.aux
index.log

setopt extendedglob globstarshort
print -l **~*.tex(.)

index.aux
index.log
subdir/filea.aux
subdir/fileb.aux
subdir/filec.aux

> 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?

-- 
Marc Chantreux
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQQrhynLytp14smlCwy+er2aYc+1WAUCaIbNAwAKCRC+er2aYc+1
WB77AQCSmw81IjJMoUBbocOurCepP9TjVZ1O2M/sd+69FOsIpgD9GDGlr0VxRwFl
ykI88rFum7O6flMz68Xso7YhOSDV5wI=
=ONff
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.