[bug #66490] pattern substitution with % does not match suffixes

Dmitry Goncharov <[email protected]>
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <[email protected]>
Follow-up Comment #1, bug #66490 (group make):

In the case of patsubst pattern '.%' does not match input 'bcd.efg'.
Same for substitution references.

Try something like
$(patsubst %.efg,%,$(A))
or
B:=$(A:.efg=)


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66490>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ0h+6AAKCRCqLAuaBUf3
TmYoAQCHKxCsuUoZf5XHNYj7lqI3x0I8yvkvAhJ8lrn5lCit9wD/XCRLwfzAZwhA
yEEXVfFBrm/tgvob7qhu0tKv1rf/KQY=
=MjFC
-----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.