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

Raphaël Pinson raphael.pinson at camptocamp.com
Fri Dec 20 07:52:07 UTC 2013


Well Augeas is not a general purpose parser; it was made specifically for
configuration files, and m4 is not in that category.

Raphaël
 Le 20 déc. 2013 00:08, "Patrick Spinler" <spinler.patrick at mayo.edu> a
écrit :

>
> 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.
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20131220/7560872d/attachment.htm>


More information about the augeas-devel mailing list