bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Example use of findstring in documentation can be problematic


From: David Sankel
Subject: Example use of findstring in documentation can be problematic
Date: Fri, 19 Apr 2013 18:07:01 -0600

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]