[augeas-devel] Re: Reformat function

Raphaël Pinson raphink at gmail.com
Thu Jul 24 11:49:15 UTC 2008


On Thu, Jul 24, 2008 at 1:32 PM, Kjetil Torgrim Homme <kjetilho at linpro.no>
wrote:

> David Lutterkort <dlutter at redhat.com> writes:
> > Yes, as I understand what Raphael was asking for, quotient
> > lenses/canonizers would be the right answer. The goal would be, e.g. to
> > make sure that the white space between the IP address and the canonical
> > hosts name in /etc/hosts is always a single space (or a tab or ...)
>
> indeed, but I think we want (most) comments to stay around.  adding a
> new primitive which is synonomous with "del" except when reformatting
> might do the trick.


If you treat comments as nodes, then this is not a problem anymore.


Raphaël
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20080724/c2482962/attachment.htm>


More information about the augeas-devel mailing list