[Omake] Re: splitting a string

David Kågedal davidk at lysator.liu.se
Fri Sep 15 06:21:11 PDT 2006


Similar problems keeps coming back.  I have things like this

    API=1.0
    ...
    APISYM=$(subst .,_,$(API))
    # APISYM is now 1_0

Simple string substituion functions like subst and patsubst in GNU
Make are pretty hard to live without.  OMake only has the highly
specialized replacesuffix, which is very useful where it applies.

-- 
David Kågedal



More information about the Omake mailing list