Re: more file filtering (e::), stest, perl (Re: A question about filename generate)
Marc Chantreux <[email protected]>
| Newsgroups | gmane.comp.shells.zsh.user |
|---|---|
| Message-ID | <aIht-ENlppxTigDS@prometheus> |
On Mon, Jul 28, 2025 at 09:52:34AM -0700, Bart Schaefer wrote:
> > if you read the 'FILENAME GENERATION' section from zshexpn, you'll see
> > that ^x exists, x~y exists but there is no thing such x^y.
> Not precisely true, as PWS mentioned.
Indeed. I learned from this post and realized I needed wasn't
understanding the whole thing. I didn't dig that much because of way I
read the manual so ...
> This could perhaps be clarified in the manual.
definitely!
> You can append ^y to a pattern but x^y doesn't imply
> precedence than ^ so
very interesting with tools like tex which create a lot of garbage while
compiling documents.
touch doc.{aux,div,log,tex,pdf}
ls doc.^(pdf|tex)
> % print configure*
> configure configure.ac configure.ac.orig
this example is nice too. also the ongoing thread is very interesting!
thanks a lot to everyone!
regards
--
Marc Chantreux
Pôle CESAR (Calcul et services avancés à la recherche)
Université de Strasbourg
14 rue René Descartes,
BP 80010, 67084 STRASBOURG CEDEX
03.68.85.60.79
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQQrhynLytp14smlCwy+er2aYc+1WAUCaIht8wAKCRC+er2aYc+1 WJ5rAQC2fDCz1tf76tTlx9r2Iu0V06w7dVzGwyWZsf66SsGuwgD+IrgtGa1UITVf /ZphaHjseIwJ72+a43WKorlwjs8eWwU= =ZRtC -----END PGP SIGNATURE-----