[augeas-devel] augeas: master - Add preceding-sibling and following-sibling axes to path expressions

David Lutterkort lutter at redhat.com
Fri Sep 11 22:27:32 UTC 2009


On Fri, 2009-09-11 at 21:39 +0000, David Lutterkort wrote:
> Gitweb:        http://git.fedorahosted.org/git/augeas.git?p=augeas.git;a=commitdiff;h=07568dfdf09817ca330716f3822d666433ab19bf
> Commit:        07568dfdf09817ca330716f3822d666433ab19bf
> Parent:        6adfee876dcbff4f043a9380a1ede09d889acb09
> Author:        David Lutterkort <lutter at redhat.com>
> AuthorDate:    Thu Sep 10 16:57:17 2009 -0700
> Committer:     David Lutterkort <lutter at redhat.com>
> CommitterDate: Fri Sep 11 14:29:05 2009 -0700
> 
> Add preceding-sibling and following-sibling axes to path expressions

This seemingly simple addition actually adds a lot of power to path
expressions, and therefore needs a little more explanation. I described
one possible use of the sibling axes here:
http://watzmann.net/blog/index.php/2009/09/11/augeas_some_tricks_on_modifying_comments

David





More information about the augeas-devel mailing list