m4-discuss
[Top][All Lists]
Advanced

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

Re: How substitute a name as part of a string


From: Marc Chantreux
Subject: Re: How substitute a name as part of a string
Date: Wed, 13 May 2015 18:13:23 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

> But if I not space between AUTHORYEAR, how I should call m4 to do it? Thanks. 

 echo "AUTHOR\`'YEAR" |
    m4 -D AUTHOR=Shakespeare -D YEAR=1587 

regards 


-- 
Marc Chantreux (eiro on github and freenode)
http://eiro.github.com/
http://eiro.github.com/atom.xml
"Don't believe everything you read on the Internet"
    -- Abraham Lincoln



reply via email to

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