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

m4 und divert



Could someone gibe me an example, why I should use divert and m4?
 
Here my example, why I ask
 
with divert:
{#TEST#:lalala:##}
 
Ausgabe: {#TEST#}
 
with m4:
m4_define(TEST, lalala)
 
Ausgabe: TEST
 
I mean where is the different? In my opinion everything I can realize with m4 I also can realize with divert...
 
Please explain me the different
 
thx Philipp