[augeas-devel] [PATCH] Add export and unset to shellvars.aug. I have seen them in several

David Lutterkort lutter at redhat.com
Wed Apr 8 19:35:57 UTC 2009


On Wed, 2009-04-08 at 15:43 +0200, Raphael Pinson wrote:
> Note: It would be great to use "unset" as a flag the way "export" is
> used, but that would require to have a non-ambiguous put based on the
> parsed values with :
> 
> kv = [ export? . key key_re . eq . (simple_value | array) . eol ]
>    | [ [ key "unset" . Util.del_ws_spc ] . store key_re . eol ]

I agree, but it would require that we can match on the structure of the
tree, not just on the labels at one level ... would be nice to have that
though ;)

David





More information about the augeas-devel mailing list