> You're being hit by a double-whammy: the logrotate lens requires that > the value for postrotate ends with a newline, but augtool won't let > you include newlines in the value (if you try something like 'set /foo > "foobar\n"', the value in the tree will end with a '\' followed by an > 'n' > > I think the fix for this is twofold: change the logrotate lens to not > require '\n' at the end of a script (it can insert that by itself) and > make augtool interpret escape characters in strings.
Thanks for these details, David. And thanks so much for the pair of patches you just commited in the tree ! They just works out of the box for me, with augeas 0.5.0 (redhat rpm). Marc _______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
