blob: 5d0c4b4c094d1cfe30318152ee033da2cb7d4799 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
var0 = value0
var1 = value1
var2 = value2
var3 = value3
var4 = value4
var5 = value5
var6 = value6
var7 = value7
var8 = value8
var9 = value9
varname1 = var1
varname2 = var2
varname3 = var3
varname4 = var4
varname5 = var5
varname5 = var5
varname6 = var6
varname7 = var7
varname8 = var8
varname9 = var9
export var0 var8 $(varname1) $(subst foo,var, foo2 )
export $(foreach x, 3 4 \
,$(subst \
odd(, \
parenthesis parsing behaviour), dont-mind-this-type{ except if you put a ${dollar} in front of it, \
$(varname$(x)) \
)\
)
export ${foreach x, 5 \
,${subst \
odd{, \
parenthesis parsing behaviour}, dont-mind-this-type( \
except if you put a $(dollar) in front of it; two dollars $$(does do the trick though, \
${varname$x}} \
}\
}
export $ ${varname6}
export $(varname7$)
all:
kmk_ash -c "export | kmk_sed '/var/!d'
|