Sync usage with man page.
[netbsd-mini2440.git] / usr.bin / make / unit-tests / modts
blobd0efd6d19c0427759daa50a6de0575f3628665d7
2 LIST= one two three
3 LIST+= four five six
5 FU_mod-ts = a / b / cool
7 AAA= a a a
8 B.aaa= Baaa
10 all:   mod-ts
12 mod-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?'