In section 7.3 and 8.2 the function 'findstring' is recommended as a means
to search a space separated list for a given value. This suggestion is
problematic as findstring really searches for substrings. So, for
example $(findstring
car,bicicle airplain carriage) will return a non-empty value. Instead it
seems that 'filter' should be used for this kind of problem.

Should the documentation in those sections be modified to note the problem
and suggest using filter as an alternative?

--David

-- 
David Sankel
Sankel Software
www.sankelsoftware.com
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to