varmod-to-upper.mk revision 1.3
11.3Srillig# $NetBSD: varmod-to-upper.mk,v 1.3 2020/08/23 15:18:43 rillig Exp $ 21.1Srillig# 31.2Srillig# Tests for the :tu variable modifier, which returns the words in the 41.2Srillig# variable value, converted to uppercase. 51.1Srillig 61.3Srillig# The :tu and :tl modifiers operate on the variable value as a single string, 71.3Srillig# not as a list of words. Therefore, the adjacent spaces are preserved. 81.3Srilligmod-tu-space: 91.3Srillig @echo $@: ${a b:L:tu:Q} 10