<p dir="ltr">Well Augeas is not a general purpose parser; it was made specifically for configuration files, and m4 is not in that category. </p>
<p dir="ltr">Raphaël<br>
</p>
<div class="gmail_quote">Le 20 déc. 2013 00:08, "Patrick Spinler" <<a href="mailto:spinler.patrick@mayo.edu">spinler.patrick@mayo.edu</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Shucks.  Thank you for the answer, though.  I'll have to come up with an<br>
alternate solution.  Disappointing, but there you go.<br>
<br>
-- Pat<br>
<br>
On 12/19/13 3:08 PM, Raphaël Pinson wrote:<br>
> Hello Patrick,<br>
><br>
><br>
> To my knowledge, there is no m4 lens that exists. The main reason is<br>
> that m4 is a macro language, not a configuration language. While it's<br>
> true that we support other complete languages (such as PHP or shell<br>
> script), they are often very truncated to the cases found in<br>
> configuration files.<br>
><br>
> If there is a standard subset of m4 macros that are generally found in<br>
> <a href="http://sendmail.mc" target="_blank">sendmail.mc</a> <<a href="http://sendmail.mc" target="_blank">http://sendmail.mc</a>>, we could probably try to support them,<br>
> but as for any conffile based on complete programming languages, there's<br>
> no garantee that Augeas will be able to parse the whole syntax.<br>
><br>
<br>
<br>
</blockquote></div>