In fact, it looks completely different:
, = , list = a,b,c $(info $(subst $(,),-,$(list))_EOL) $(info $(subst ${,},-,$(list))_EOL)
exits
ab-c_EOL md/init-profile.md:4: *** unterminated variable reference. Stop.
But so far I have found this difference when the variable name in $ {...} contains a comma. At first I thought that $ {...} does not expand the comma as part of the cost, but it turns out that I cannot crack it. I still do not understand this ... If anyone had an explanation, I would be happy to find out!
unomadh Nov 22 '16 at 9:00 2016-11-22 09:00
source share