On 2010.03.30 8:47, Peng Yu wrote:
TXT:=a b cSuppose I have the above set of strings, could somebody show me how to convert it to the string a,b,c?
$ cat Makefile var = 1 2 3 empty = space = $(empty) $(empty) comma = , $(error $(subst $(space),$(comma),$(var))) $ make Makefile:6: *** 1,2,3. Останов. -- С уважением, Александр Гавенко. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
