help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Iterating through multi-line variable


From: J.T. Conklin
Subject: Re: Iterating through multi-line variable
Date: Wed, 30 Jun 2010 08:10:21 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, berkeley-unix)

"Hambridge, Philip J (ODP)" <address@hidden> writes:
> I think this does the trick...
> $(foreach line,$(subst $(NEWLINE),$(SPACE),$(subst
> $(SPACE),$(SPACESUB),$(FOO))),\
>   $(info line: '$(subst $(SPACESUB),$(SPACE),$(line))')\
> )

Thanks Philip,

I experimenting along these lines, but hadn't quite got there.  Your
recipe showed me the way.

    --jtc

-- 
J.T. Conklin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]