Raphaël Pinson

Results 205 comments of Raphaël Pinson

`create-if-not-found` already exists in `augtool`/`srun`: * `touch` creates a node (without a value) if it doesn't match * `defnode` defines a variable pointing to a path and creates the path...

Actually, there is a trick for `seq` entries, which I described [here](https://stackoverflow.com/a/32601526/232250): ```augtool #!/usr/bin/augtool -Asf # The -A combined with this makes things much faster # by loading only the...

There is actually a comment on that in the code https://github.com/hercules-team/augeas/blob/master/lenses/xml.aug#L40-L45 Allowing `>` or `?` in PI would mean substracting `/.*\?>.*/`, which would make the lens much slower…

How are you passing it to Augeas? `Ciphers` is an array, represented by a seq, so it is parsed as: ``` { "Ciphers" { "1" = "+ssh-dss" } } ```...

I don't really get the issue. If I add `!include` statements in the middle of the file, they get parsed OK: ``` diff diff --git a/lenses/tests/test_mysql.aug b/lenses/tests/test_mysql.aug index 9356204..8fe752f 100644...

Ah sorry @lutter, @domcleal just explained to me what you meant… I see the issue now… I guess there would be an option of allowing include statements inside sections but...

What is the format of that file?