Re: Expanding a macro within a string?

Jack Woehr <[email protected]>
Newsgroups gmane.comp.gnu.m4.general
Message-ID <[email protected]>
Paul Kirkaas wrote:
> I want to do something like:
>
> define(XXX,ZZZ)
>
> then expand XXX within a string:
>
> someXXXstring => someZZZstring
$ m4 -
define(XXX,ZZZ)

some`'XXX`'string
/someZZZstring/

-- 
Jack J. Woehr            # «'I know what "it" means well enough, when I find
http://www.well.com/~jax # a thing,' said the Duck: 'it's generally a frog or
http://www.softwoehr.com # a worm.'» - Lewis Carroll, _Alice in Wonderland_
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.