1 2LIST= one two three 3LIST+= four five six 4 5FU_mod-ts = a / b / cool 6 7AAA= a a a 8B.aaa= Baaa 9 10all: mod-ts 11 12mod-ts: 13 @echo 'LIST="${LIST}"' 14 @echo 'LIST:ts,="${LIST:ts,}"' 15 @echo 'LIST:ts/:tu="${LIST:ts/:tu}"' 16 @echo 'LIST:ts::tu="${LIST:ts::tu}"' 17 @echo 'LIST:ts:tu="${LIST:ts:tu}"' 18 @echo 'LIST:tu:ts/="${LIST:tu:ts/}"' 19 @echo 'LIST:ts:="${LIST:ts:}"' 20 @echo 'LIST:ts="${LIST:ts}"' 21 @echo 'LIST:ts:S/two/2/="${LIST:ts:S/two/2/}"' 22 @echo 'LIST:S/two/2/:ts="${LIST:S/two/2/:ts}"' 23 @echo 'LIST:ts/:S/two/2/="${LIST:ts/:S/two/2/}"' 24 @echo "Pretend the '/' in '/n' etc. below are back-slashes." 25 @echo 'LIST:ts/n="${LIST:ts\n}"' 26 @echo 'LIST:ts/t="${LIST:ts\t}"' 27 @echo 'LIST:ts/012:tu="${LIST:ts\012:tu}"' 28 @echo 'LIST:tx="${LIST:tx}"' 29 @echo 'LIST:ts/x:tu="${LIST:ts\x:tu}"' 30 @echo 'FU_$@="${FU_${@:ts}:ts}"' 31 @echo 'FU_$@:ts:T="${FU_${@:ts}:ts:T}" == cool?' 32 @echo 'B.$${AAA:ts}="${B.${AAA:ts}}" == Baaa?' 33