[bug #67428] [PATCH] documentation of $(findstring ...)

anonymous <[email protected]> Thu, 14 Aug 2025 12:06:41 -0400 (EDT)
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <[email protected]>
URL:
  <https://savannah.gnu.org/bugs/?67428>

                 Summary: [PATCH] documentation of $(findstring ...)
                   Group: make
               Submitter: None
               Submitted: Thu 14 Aug 2025 04:06:38 PM UTC
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: None
        Operating System: None
           Fixed Release: None
           Triage Status: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 14 Aug 2025 04:06:38 PM UTC By: Anonymous
The current example in the documentation given for $(findstring ...) is rather
misleading:
   $(findstring a,a b c)
gives the impression that $(findstring ...) works on words and not on raw
character sequences.

I attach a patch, which uses an example, which demonstrates that $(findstring
...) really does work on raw character sequences.








    _______________________________________________________

Reply to this item at:

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

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

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaJ4JkQAKCRCqLAuaBUf3
TscTAP0V3ppo+KspcPPyYP277eRvhLwfb6LUNUkhYuGrxi2cbQEAwCik5ha6VFAD
UhvWhunycSQ+PfLKzkyG1GHOkh+FRwo=
=V/hk
-----END PGP SIGNATURE-----