[augeas-devel] Re: [PATCH] group lens

Free Ekanayaka free at 64studio.com
Tue Dec 23 10:44:58 UTC 2008


Hi David,

|--==> On Mon, 22 Dec 2008 10:59:42 -0800, David Lutterkort <lutter at redhat.com> said:

  >>+(************************************************************************
  >>+ *                               ENTRIES
  >>+ *************************************************************************)
  >>+
  >>+let entry     = [ key word
  >>+                . colon
  >>+                . [ label "password" . store word    . colon ]
  >>+                . [ label "gid"      . store integer . colon ]
  >>+                . [ label "users"    . sto_to_eol? ]
  >>+                . eol ]

  DL> I'd prefer if we split the list of users into individual entries in the
  DL> tree, so that we'd get

  DL> test Group.lns get "group:x:199:bill,martha" =
  DL>    { "group"
  DL>      { "password" = "x" }
  DL>      { "gid" = "199" }
  DL>      { "user" = "bill" }
  DL>      { "user" = "martha"} }

That's fine for me. I will send an updated patch as soon as I have
some time to work on it.

Ciao!

Free




More information about the augeas-devel mailing list