diff options
Diffstat (limited to 'unit-tests/sysv.mk')
-rw-r--r-- | unit-tests/sysv.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/unit-tests/sysv.mk b/unit-tests/sysv.mk index 2bd128eb71307..3a987441ee42c 100644 --- a/unit-tests/sysv.mk +++ b/unit-tests/sysv.mk @@ -1,4 +1,4 @@ -# $Id: sysv.mk,v 1.4 2020/05/07 01:17:51 sjg Exp $ +# $Id: sysv.mk,v 1.5 2020/07/04 18:16:55 sjg Exp $ FOO ?= FOOBAR = ${FOO:=bar} @@ -11,7 +11,7 @@ FUN = ${B}${S}fun SUN = the Sun # we expect nothing when FOO is empty -all: foo fun sam bla +all: foo fun sam bla words foo: @echo FOOBAR = ${FOOBAR} @@ -41,3 +41,8 @@ BLA= bla: @echo $(BLA:%=foo/%x) + +# The :Q looks like a modifier but isn't. +# It is part of the replacement string. +words: + @echo a${a b c d e:L:%a=x:Q}b |