[augeas-devel] Augeas lens for sendmail.mc / m4 macro language

Patrick Spinler spinler.patrick at mayo.edu
Thu Dec 19 23:08:41 UTC 2013


Shucks.  Thank you for the answer, though.  I'll have to come up with an
alternate solution.  Disappointing, but there you go.

-- Pat

On 12/19/13 3:08 PM, Raphaël Pinson wrote:
> Hello Patrick,
> 
> 
> To my knowledge, there is no m4 lens that exists. The main reason is
> that m4 is a macro language, not a configuration language. While it's
> true that we support other complete languages (such as PHP or shell
> script), they are often very truncated to the cases found in
> configuration files.
> 
> If there is a standard subset of m4 macros that are generally found in
> sendmail.mc <http://sendmail.mc>, we could probably try to support them,
> but as for any conffile based on complete programming languages, there's
> no garantee that Augeas will be able to parse the whole syntax.
> 





More information about the augeas-devel mailing list