[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mention how to quote a comma in "call"
From: |
jidanni |
Subject: |
mention how to quote a comma in "call" |
Date: |
Sat, 02 Jun 2007 05:25:50 +0800 |
Your
reverse = $(2) $(1)
example in the manual is great, however if one day your users happen
to want to quote a comma,
OK:;echo $(call reverse,a,b)
SORRY1:;echo $(call reverse,a\,b,c)
SORRY2:;echo $(call reverse,"a,b",c)
then they are S.O.L. unless you mention how.
One apparently needs to do
EE=a,b
OK2:;echo $(call reverse,$(EE),c)
Mention that it is the only(?) way.
Wait,
OK3:;s=,;echo $(call reverse,a$${s}b,c)
- mention how to quote a comma in "call",
jidanni <=