[augeas-devel] Using 'set' to append multiple elements

Frederik Wagner fnerdwq at googlemail.com
Wed Mar 10 08:58:28 UTC 2010


Hi again,

is there a way to append multiple entries to an array at the same
time? Like I want to add a bunch of users to a group? I would think
about something like - which does not work now -

augtool> set /files/etc/group/mygroup/users[last()+1]
["newuser1","newuser2", ...]

Thanks a lot again,
Frederik




More information about the augeas-devel mailing list