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" <[email protected]> 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. > > > > >
_______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
