[augeas-devel] [PATCH] group lens

David Lutterkort lutter at redhat.com
Wed Dec 24 06:26:20 UTC 2008


On Mon, 2008-12-22 at 10:59 -0800, David Lutterkort wrote:
> On Sat, 2008-12-20 at 11:32 +0000, free at 64studio.com wrote:
> > commit 5658eb76a4a1d51c1a381a262bbacacc375767f3
> > Author: Free Ekanayaka <free at 64studio.com>
> > Date:   Sat Dec 20 00:20:52 2008 +0000
> > 
> >     Add lens and test for /etc/group
> 
> Yeah, this is much needed.
> 
> > +(************************************************************************
> > + *                               ENTRIES
> > + *************************************************************************)
> > +
> > +let entry     = [ key word
> > +                . colon
> > +                . [ label "password" . store word    . colon ]
> > +                . [ label "gid"      . store integer . colon ]
> > +                . [ label "users"    . sto_to_eol? ]
> > +                . eol ]
> 
> I'd prefer if we split the list of users into individual entries in the
> tree, so that we'd get

I just committed that lens with the change to split the list of users.

David





More information about the augeas-devel mailing list